[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt- and dselect




Once you have the .deb locally, you can simply run "dpkg -i your_file_to_be_installed.deb", saving a bit of tedium perhaps.



apt and dselect seem to start 'update' OK and and appear to find some files but in a short time, an error notice shows
up, (error 1,  error2,  404 and the like) and the 'update'
stops.


I'm not sure about the "error 1", "error 2", but the 404 is a standard "can't find internet site" error. Sounds like maybe you've got errors in your /etc/apt/sources.list file.


That hit the target!    Thank you!

I tried running deselect and received this error message:

E: Malformed line 2 in source list /etc/apt/sources.list (deb)
update available list script returned error exit status 1.
Press <enter> to continue

So, I edited /etc/apt/sources.list and copied line 2 to
line 9 and commented out line 2.  Then, I ran dselect again
and sure enough, the error message said:

E: Malformed line 9 in source list.........

This is the trouble maker line:

deb http://ftp.de.debian.org/debian/stable/

I then commented out line 9 and ran dselect again
and the update appeared to run the way it should  BUT
an unrelated (I think) problem showed up way down on the list, after more than a minute.
I'll leave this new problem on the lab table for a while
and may post it as a new problem in a day or so. Internet problem??
-------
I checked the web for information about the trouble-maker
source and discovered that it has a history of causing
problems, going back to 1999.  So, why was it on my 2003
Debian 7 CD set?  Did I get a joker set?  It says 'Stable"
on the CDs.
-------

Alex

 Here's a copy of what appeared after the last good package:
after the fix.

Failed to fetch http://http.us.debian.org/debian/dists/dselect/main/binary-i386/
Packages  404 Not Found [IP: 35.9.37.225 80]
Failed to fetch http://http.us.debian.org/debian/dists/dselect/contrib/binary-i3
86/Packages  404 Not Found [IP: 35.9.37.225 80]
Failed to fetch http://http.us.debian.org/debian/dists/dselect/stable/binary-i38
6/Packages  404 Not Found [IP: 35.9.37.225 80]
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list http://http.us.debian.org dselect/main Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_dselect_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://http.us.debian.org dselect/contrib Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_dselect_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://http.us.debian.org dselect/stable Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_dselect_stable_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://http.us.debian.org dselect/main Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_dselect_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://http.us.debian.org dselect/contrib Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_dselect_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://http.us.debian.org dselect/stable Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_dselect_stable_binary-i386_Packages) - stat (2 No such file or directory) W: Duplicate sources.list entry http://non-us.debian.org stable/non-US/main Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_main_binary-i386_Packages) W: Duplicate sources.list entry http://non-us.debian.org stable/non-US/contrib Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_contrib_binary-i386_Packages) W: Duplicate sources.list entry http://non-us.debian.org stable/non-US/non-free Packages (/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_stable_non-US_non-free_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.

update available list script returned error exit status 1.
Press <enter> to continue.









Reply to: