LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Fresh Install of Debian Wheezy/Wrong sources.list/Fixing recursive fault error (https://www.linuxquestions.org/questions/debian-26/fresh-install-of-debian-wheezy-wrong-sources-list-fixing-recursive-fault-error-4175492591/)

k3lt01 01-27-2014 01:11 AM

You're welcome

widget 01-27-2014 04:08 AM

There is a basic problem with the entire APT system somewhere. This is what the start of the thread was about.

Then he decides, with a screwed package management system, to install more packages without straightening out the package manager first.

Going back over the thread you will see I suggested;
dpkg --audit
apt-get clean
dpkg --clear-avail

At that time they may have done some good, would undoubtedly shown up the fglrx-driver problem, and may have cleaned up what ever was strange in this new install.

May still help. Continuing to add up things not completely installed and opperations to install them will not be helpful. The base of the problem must be addressed first.

k3lt01 01-27-2014 04:32 AM

Quote:

Originally Posted by widget (Post 5105961)
There is a basic problem with the entire APT system somewhere. This is what the start of the thread was about.

The thread actually started because of a malformed sources.list line. That in itself is not a big problem to overcome. The next problem come with attempting to restart the machine after it jammed, I'm not sure we can blame that on APT. The next problem is that on reboot he can't get anything but a console.

After having read the entire thread again I'm not sure it helped moving from aptitude to apt-get either. I know the databases have been "fixed" so the commands can apparently work ok but it is always best to use one and stick to it. Maybe if he stuck with, and we suggested he stick with, aptitude apt would have provided the options.

Post 3 suggests there are 14 updates available (that was using aptitude not apt-get) so my next suggestion would be to
Code:

aptitude update && aptitude upgrade
if there are any outstanding dependency issues aptitude will say what they are and make recommendations. After that is done we can work on the problem of not getting anything but a console.

widget 01-27-2014 04:29 PM

Sounds great to me.

Ztcoracat 01-27-2014 08:35 PM

Trying your suggestion,k3lt01 and running "aptitude update && aptitude upgrade"

It might take me a while to type it all out so you can see all the output--
Be back in a few minutes.

Ztcoracat 01-27-2014 09:01 PM

The mouse is not working in console mode so I was only able to show you all of the text of what's on my screen, sorry.

Code:

Get: 6 http://ftp.us.debian.org wheezy-backports/main amd64 2014/27-2014.32.p
diff [2983 B]
Hit http://debian.net wheezy Release
Hit http://http.debian.net wheezy/main amd64 Packages
Hit http://http.debian.net wheezy/contrib amd64 Packages
Fetched 160 kB in 6s (23.4kB/s)
W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/Release Unable to find
expected entry or malformed file)
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/Release:Unab
le to find expected entry 'non/source/Sources' in Release file (Wrong sources.li
st entry or malformed file)
W: Failed to fetch http://http.debian.net/debian/dists/wheezy/Release:Unable to
list entry or malformed file
E: Some index files failed to download. They have been ignored, or old ones used
instead.
E: Couldn't rebuild package cache

Current status: 35744 new (+6)


TobiSGD 01-27-2014 09:49 PM

There still seems to be a problem with your sources.list, please post it again.

Tip: To scroll on the command-line use Shift+PageUp/ÜageDown.

k3lt01 01-27-2014 09:57 PM

Ok now run
Code:

aptitude clean
this will clear your cache of all the debs that are in there. We will do this because aptitude is complaing that it can't rebuild the package cache. Once you have done that run
Code:

aptitude update && aptitude upgrade
again.

Ztcoracat 01-27-2014 10:07 PM

Quote:

Originally Posted by TobiSGD (Post 5106505)
There still seems to be a problem with your sources.list, please post it again.

Tip: To scroll on the command-line use Shift+PageUp/ÜageDown.

Thanks for the tip!

Code:

deb http://security.debian.org/ wheezy/updates main contrib non free
deb-src http://security.debian.org/ wheezy/updates main contrib non free
deb http://ftp.us.debian.org/debian wheezy main contrib non free
deb http://ftp.us.debian.org/debian wheezy-backports main contrib non free
deb http://http.debian.net/debian/ wheezy main contrib non free


Ztcoracat 01-27-2014 10:47 PM

Quote:

Originally Posted by k3lt01 (Post 5106508)
Ok now run
Code:

aptitude clean
this will clear your cache of all the debs that are in there. We will do this because aptitude is complaing that it can't rebuild the package cache. Once you have done that run
Code:

aptitude update && aptitude upgrade
again.

Code:

Hit http://ftp.us.debian.org wheezy Release.gpg
Hit http://ftp.us.debian.org wheezy-backports Release .gpg
Hit http://ftp.us.debian.org wheezy Release
Hit http://security.debian.org wheezy/updates Release. gpg
Hit http://ftp.us.debian.org wheezy-backports Release
Hit http://ftp.us.debian.org wheezy/main amd64 Packages
Hit http://security.debian.org wheezy/updates Release
Hit http://ftp.us.debian.org wheezy/contrib amd64 Packages
Hit http://http.debian.net wheezy-backports/main amd64 Packages/Diff Index
Hit http://ftp.us.debian.org wheezy-backports/main amd64 Packages DiffIndex
Hit http://security.debian.org wheezy/updates main Sources
Hit http://ftp.us.debian.org wheezy-backports/contrib amd64 Packages DiffIndex
Hit http://security.debian.org wheezy/updates/contrib Sources
Hit http://debian.net wheezy Release
Hit http://debian.net wheezy/contrib amd64 Packages
Hit http://http.debian.net wheezy/main amd64 Packages
74% [Working}Failed to fetch

All of the rest of the output is identical to that in post #36

k3lt01 01-27-2014 10:55 PM

Unless you really want to download the source tarballs you really don't need this line
Code:

deb-src http://security.debian.org/ wheezy/updates main contrib non free
I also wonder if you could use a better repository location for where you are. It may be worth your while taking a look at this. Although having said that you do have the debian.net listed in one line (I'd do it in 3 of the 4 lines) so in theory that should find the closest and fastest location for you. If I were you I would set my repository up like this instead
Code:

deb http://http.debian.net/debian wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main
deb http://http.debian.net/debian/ wheezy-updates main contrib non-free
deb http://http.debian.net/debian wheezy-backports main


k3lt01 01-27-2014 10:59 PM

Quote:

Originally Posted by Ztcoracat (Post 5106522)
All of the rest of the output is identical to that in post #36

That says to me there is a temporary problem with the us servers. I recommend you change your repository to the format in the post above this one.

TobiSGD 01-27-2014 11:07 PM

Do you have typed the sources list by hand or did you copy and paste to the forum? I ask because you have listed "non free" as repository behind any entry, where it should be "non-free", as seen in k3lt01's sources.list. Also, keep in mind that the wheezy/updates repository (the one pointing at security.debian.org) does not have the contrib and non-free subsections.

k3lt01 01-27-2014 11:22 PM

I think he would be typing by hand otherwise there would have been errors for that. I have edited my previous post as well (I forgot about security just being main).

Ztcoracat 01-27-2014 11:24 PM

Quote:

Originally Posted by k3lt01 (Post 5106527)
That says to me there is a temporary problem with the us servers. I recommend you change your repository to the format in the post above this one.

I completely deleted this line in my sources list-
Code:

deb-src http://security.debian.org/ wheezy/updates main contrib non free
My sources list now reflects exactly the repository list you posted and reccommended-;)
Cheers!

Why does my sources list text appear in the terminal: in green, red and pink colored text?


All times are GMT -5. The time now is 09:17 AM.