WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] Debian repo not available  (Read 1473 times)

Offline Santos

  • Full Member
  • ***
  • Posts: 104
[Solved] Debian repo not available
« on: December 03, 2023, 11:31:18 AM »
Hello

I am working with dCore Stretch (x86 and x64, got latest iso for both) and whenever I try to import an extension, like:

Code: [Select]
sce-import emacs
I get an error saying that the Debian repo does not exist. I tried to check if I could update the repo address (maybe is now archived) but could not do it -didn't find any file to edit-.

Is that the right approach or what should I do to get  sce-import  to work?

Edit: btw, I do have access to the internet.
« Last Edit: Today at 10:32:19 AM by Rich »

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
Re: Debian repo not available
« Reply #1 on: January 12, 2024, 12:43:28 AM »
I think the url moved to debian archive, or old-releases. Basically it is different.

Then again, i hope we'll get some new dCore images someday.

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1648
Re: Debian repo not available
« Reply #2 on: January 12, 2024, 02:05:09 AM »
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline Santos

  • Full Member
  • ***
  • Posts: 104
Re: Debian repo not available
« Reply #3 on: February 01, 2024, 04:29:26 PM »
Thank you, guys.

How do I update the url so it can point to the right place?

I'm clueless on what file to edit.

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1648
Re: Debian repo not available
« Reply #4 on: February 01, 2024, 05:39:44 PM »
See this link at Stack Exchange for instructions on a "normal" Stretch install being updated (modifying the repo configs)
which contain the URLs you'll need for dCore, however, I'm sorry to say I've never installed dCore for myself so I don't
have the other piece to the puzzle on where sce-import gathers its information.  I'd GUESS in /etc/sysconfig or /opt,
but I cannot say for certain.  Hope this helps at least a little.
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline Santos

  • Full Member
  • ***
  • Posts: 104
Re: Debian repo not available
« Reply #5 on: February 09, 2024, 10:43:10 AM »
Hello,

I was able to add an extra  repo  based on the information on the dCore wiki:

http://wiki.tinycorelinux.net/doku.php?id=dcore:handling_extensions

In the 'Additional Repositories' section.

Everything seems to work. After adding the unique URL to a text file in /opt/debextra/ directory and running  sce-import  there is a  debinx  file generated, which I assume is a confirmation about the  sce-import  command taking the repo in.

However, I got the same error about the repo not available for the FTP Debian URL. This makes  sce-import  to error out and refuse to install anything.

Code: [Select]
tc@box:~$ cd /opt/debextra/
tc@box:/opt/debextra$ ls
tc@box:/opt/debextra$ vi archive
tc@box:/opt/debextra$ sce-import screen
* Using nice level 19.
* Using the -u option.
 
* DEBINX sync based on debian stretch.
* Debian index sync: debian_stretch_main_amd64_Packages
* Debian security index sync: debian_stretch_security_amd64_Packages
* Connecting to: http://repo.tinycorelinux.net/dCore/x86_64/
  debian_stretch_security_amd64_Packages
* Using repo: http://archive.debian.org/debian stretch main
 
Warning: The following repository is not available:
 
debian stretch http://ftp.us.debian.org/debian
 
Warning: Error updating DEBINX files, exiting..
tc@box:/opt/debextra$
tc@box:/opt/debextra$
tc@box:/opt/debextra$

Offline Santos

  • Full Member
  • ***
  • Posts: 104
Re: Debian repo not available
« Reply #6 on: Today at 10:23:38 AM »
SOLVED! :D


It took me time to resolve it, it was exactly what I thought it was... just changing an URL in a file.

Code: [Select]
/usr/bin/debGetEnv

Edit the file and change every instance of:

Code: [Select]
http://ftp.us.debian.org/debian

To

Code: [Select]
http://archive.debian.org/debian

Not even the wiki mentioned this -or I missed it-. So I had to use brute force and  grep-search  every file and print its location once the pattern was found even used a LLM to help me with the command line.

Thank you for your assistance, CentralWare.

Hope more people can find this useful.