[SOLVED] Fresh Install of Debian Wheezy/Wrong sources.list/Fixing recursive fault error
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Fresh Install of Debian Wheezy/Wrong sources.list/Fixing recursive fault error
Hi:
I used nano to edit my sources.list.
Upon running a update it's failing to fetch with the wrong sources.list entry.
I thought I had this right by following these instructions: http://www.howtogeek.com/howto/42980...e-text-editor/
This is my current sources.list
Code:
# deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official amd64 CD Binary-1 20131215-04:56]/ wheezy main
#deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official amd64 CD Binary-1 20131215-04:56]/ wheezy main
deb http://security.debian.org/ wheezy/updates main contrib non free
deb-src http://security.debian.org/ wheezy/updates main
deb http:://ftp.us.debian.org/debian wheezy main
deb http://ftp.us.debian.org/debian wheezy-backports main
Code:
root@:/home/ra3# aptitude update
Err http: wheezy Release.gpg
Unable to connect to :http:
Ign http: wheezy Release
Err http: wheezy/main amd64 Packages
Unable to connect to :http:
Err http: wheezy/main Translation-en_US
Unable to connect to :http:
Err http: wheezy/main Translation-en
Unable to connect to :http:
Hit http://ftp.us.debian.org wheezy-backports Release.gpg
Hit http://ftp.us.debian.org wheezy-backports Release
Hit http://ftp.us.debian.org wheezy-backports/main amd64 Packages/DiffIndex
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://ftp.us.debian.org wheezy-backports/main Translation-en/DiffIndex
Hit http://security.debian.org wheezy/updates Release
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
67% [Working]W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/Release.gpg: Unable to connect to :http:
W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/main/binary-amd64/Packages: Unable to connect to :http:
W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/main/i18n/Translation-en_US: Unable to connect to :http:
W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/main/i18n/Translation-en: Unable to connect to :http:
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/Release: Unable to find expected entry 'non/binary-amd64/Packages' in Release file (Wrong sources.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
Why the failed to fetch error and the wrong sources.list entry malformed file?
There were 2 error messages appeared at start up and I had to perform a hard shut down after the second message hung on a black screen.
Code:
fixing recursive fault but reboot is needed
Code:
[udevd] 460: time out Killing sbin/blkid-0dev-p /dev/sda2 [667]
I ran dmesg and read the log. I didn't find any errors.
Is this a bug maybe?
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
Very interesting.
Looks like it should work to me.
A couple things though.
Have you rebooted to recovery mode? This will sometimes be of some help. It is more verbose and some functions are self correcting. Will also drop you, with your root password, to a root prompt (#) where you could try the commands from without the encumberance of the xwindows system.
Just for gigles you may want, while at that prompt, to run;
Code:
dpkg --audit
There is actually nothing suggesting that is needed but there is some problem, this will let you know if something is no fully installed.
There are a couple of other commands that are related to updating your package list that might be of use here.
Code:
apt-get clean
Code:
dpkg --clear-avail
These will clear the package lists and give you a clean slate to start from. From your error messages in your first post there was something not quite right with your package management from the start. Don't see anything in the source.list to suggest that but you shouldn't have been getting those messages. There could be some things left in there from when you installed that were not cleaned up by the installer.
Now all I have is console mode-
All I did is follow these instructions on this Debian page https://wiki.debian.org/ATIProprietary
under Debian 7 Wheezy and restarted. Upon restarting now I'm stuck here--see output below.
Fatal Server error:
no screens found
Please consult the X.Org Foundation Support at http://wiki.x.org
for help
Please also check the log file at /var/log/X.O.log for additional information.
Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to x server: Connection refused
xinit: server error
root@me:/home/myname/Downloads# x -configure
bash: command not found
When I tried to install the driver there were dependency problems and I also tried to install those 2 pkg's : libfglrx & glx and had an error with that as well.
Code:
root@ck:/home/a3/Downloads# dpkg -i fglrx-driver_12-6+point-3_amd64.deb
(Reading database ... 106531 files and directories currently installed.)
Preparing to replace fglrx-driver 1:12-6+point-3 (using fglrx-driver_12-6+point-3_amd64.deb) ...
Unpacking replacement fglrx-driver ...
dpkg: dependency problems prevent configuration of fglrx-driver:
fglrx-driver depends on libfglrx (= 1:12-6+point-3); however:
Package libfglrx is not installed.
fglrx-driver depends on glx-alternative-fglrx (>= 0.2); however:
Package glx-alternative-fglrx is not installed.
dpkg: error processing fglrx-driver (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
fglrx-driver
Not sure what to try.
You guys have more experience with Debian and being so I'm trusting you as I am baffled at the moment as to what needs to be done to resolve this.
apt-get install fglrx
Reading package list... Done
Package fglrx is not available but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'fglrx' has no installation canidate
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
First off, you were having a problem with your package management system. It is best not to try installing some other packages until you get the system straightened out.
Second it is good to read what your console output is when you run commands.
Code:
root@ck:/home/a3/Downloads# dpkg -i fglrx-driver_12-6+point-3_amd64.deb
(Reading database ... 106531 files and directories currently installed.)
Preparing to replace fglrx-driver 1:12-6+point-3 (using fglrx-driver_12-6+point-3_amd64.deb) ...
Unpacking replacement fglrx-driver ...
dpkg: dependency problems prevent configuration of fglrx-driver:
fglrx-driver depends on libfglrx (= 1:12-6+point-3); however:
Package libfglrx is not installed.
fglrx-driver depends on glx-alternative-fglrx (>= 0.2); however:
Package glx-alternative-fglrx is not installed.
dpkg: error processing fglrx-driver (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
fglrx-driver
Note that in this case dpkg is trying to download and install "fglrx-driver" and that it found TWO THINGS;
1>the current version is installed.
2>there is an uninstalled package on which fglrx-driver depends.
If you had run;
Code:
dpkg --audit
it should have shown this to be the case.
There was little to go on as to what your problem with APT is in the first place. Now it is simply more tangled than before.
$apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/) : are you root?
Run this cmd as root, Widget?
I'm asking so I don't create any further problems-
Reading package list... Done
Building dependency tree
Reading state information ... Done
Correcting dependencies... Done
The following packages will be REMOVED
fglrx-driver
0 upgraded 0 newly installed or removed 1 to removed and 14 not upgraded
After this operation 24.9 MB disk space will be freed.
Do you want to continue [Y/n]?
Yes is what I want correct, k3lt01?
(making sure)
Last edited by Ztcoracat; 01-26-2014 at 08:46 PM.
Reason: Correct output
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.