LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   will debian update manager include all listed dependancies (https://www.linuxquestions.org/questions/linux-newbie-8/will-debian-update-manager-include-all-listed-dependancies-913072/)

Fred Caro 11-11-2011 03:12 PM

will debian update manager include all listed dependancies
 
Dear all,
ran the Debian update manager and it gave many updates available with listed dependencies, will these also be installed or are some left out? It returned no error messages directly and niether were any updates left on reboot.
On trying 'apt-get update' it did leave this worrying set of messages:

Reading package lists... Done
W: Failed to fetch http://ftp.gb.debian.org/debian/dist...ze/Release.gpg Could not resolve 'ftp.gb.debian.org'

W: Failed to fetch http://ftp.gb.debian.org/debian/dist...slation-en.bz2 Could not resolve 'ftp.gb.debian.org'

W: Failed to fetch http://ftp.gb.debian.org/debian/dist...tion-en_GB.bz2 Could not resolve 'ftp.gb.debian.org'

W: Failed to fetch http://ftp.gb.debian.org/debian/dist...slation-en.bz2 Could not resolve 'ftp.gb.debian.org'

W: Failed to fetch http://ftp.gb.debian.org/debian/dist...tion-en_GB.bz2 Could not resolve 'ftp.gb.debian.org'

W: Failed to fetch http://ftp.gb.debian.org/debian/dist...slation-en.bz2 Could not resolve 'ftp.gb.debian.org'

W: Failed to fetch http://ftp.gb.debian.org/debian/dist...tion-en_GB.bz2 Could not resolve 'ftp.gb.debian.org'

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: Duplicate sources.list entry http://http.us.debian.org/debian/ squeeze/main amd64 Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_squeeze_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://http.us.debian.org/debian/ squeeze/contrib amd64 Packages (/var/lib/apt/lists/http.us.debian.org_debian_dists_squ

Changed my source via 'best source' or something like, under admin. sources and it now is pointed to "ftp://mirror.bytemark.co.uk/debian"

Hope this will fix the errors quoted.

The original question remains.

Previous source started with 'http'.

struggling,

Fred.

craigevil 11-11-2011 04:40 PM

Post your sources.list it looks like you have duplicate entries.

Also take a look at:
# Official Debian mirrors http://www.debian.org/mirror/list
# Also at http://ftp.debian.org/debian/README.mirrors.txt
# SourcesList - Debian Wiki - http://wiki.debian.org/SourcesList

Fred Caro 11-12-2011 04:56 AM

craigevil, thanks for reply and info. Apt list is as follows:

root@fredsplace:/home/fred# cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20110827-20:26]/ squeeze main

deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20110827-20:26]/ squeeze main

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://http.us.debian.org/debian/ squeeze contrib main
# deb-src http://http.us.debian.org/debian/ squeeze contrib main
deb ftp://mirror.bytemark.co.uk/debian/ squeeze main contrib non-free
deb http://http.us.debian.org/debian/ squeeze main contrib non-free
root@fredsplace:/home/fred# exit

Should I dump some of these? Please note that 'apt-get update' no longer complains but I still do not know if the Gnome update manager includes mentioned dependencies.

Fred.

jlinkels 11-12-2011 07:31 AM

It is quite simple.

Comment out the CDROM

Keep these two lines:
Code:

deb http://security.debian.org/ squeeze/updates main contrib non-free
 deb http://http.us.debian.org/debian/ squeeze contrib main

and comment out the rest.

After you did apt-get update you have access to everything. Installing a new package will pull in all dependencies.

I don't know gnome update manager, but it should be a front end to apt and act correctly. It is not the front end which decides about dependencies, apt collects information about dependencies and solves them by pulling in more packages. Gnome update manager only shows them to you. I don't like GUI update managers. If those fails, open a console, and run apt get update && apt-get install <package>. As root.

Once you sorted out your problem, find a repository closer to you if you are not in the US and change (not add) http.us.debian.org into the new one.

If you have pernding dependency problems, run apt-get install -f

If you get the NO_PUBKEY error, follow this guideline: http://en.kioskea.net/faq/809-debian...bkey-gpg-error

jlinkels

Fred Caro 11-13-2011 09:22 AM

debian sources
 
Thanks. Took a while to go through your suggestions but...
the GUI and CLI seem to be at variance cli:

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20110827-20:26]/ squeeze main

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20110827-20:26]/ squeeze main

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://http.us.debian.org/debian/ squeeze contrib main
# deb-src http://http.us.debian.org/debian/ squeeze contrib main
deb ftp://mirror.bytemark.co.uk/debian/ squeeze main contrib non-free
deb http://http.us.debian.org/debian/ squeeze main contrib non-free

The GUI gives no mention of ftp origins. Is the above some kind of log of past events?

I did use apt to install a new (small) program but it took a long time to download but quick to install.

The above aside I am happy with Debian and intend to continue using it.

Fred.

jlinkels 11-13-2011 10:38 AM

Quote:

Originally Posted by Fred Caro (Post 4522878)
Thanks. Took a while to go through your suggestions but...
the GUI and CLI seem to be at variance cli:

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20110827-20:26]/ squeeze main

# deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20110827-20:26]/ squeeze main

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://http.us.debian.org/debian/ squeeze contrib main non-free
# deb-src http://http.us.debian.org/debian/ squeeze contrib main
deb ftp;//mirror.bytemark.co.uk/debian/ squeeze main contrib non-free
deb http;//http.us.debian.org/debian/ squeeze main contrib non-free

Add the green, remover the red from /etc/apt/sources.list

Quote:

Originally Posted by Fred Caro (Post 4522878)
I did use apt to install a new (small) program but it took a long time to download but quick to install.

That is not typical, but could be caused by your sources.list. Anyway, when you do this from the CLI you see exactly what is going on, and when download is slow. Once everything works (but slow) you can choose for altering you repository server to something in your country.

Since I have been using Debian, I never have been able to use a GUI application to manage my sources.list or install a program correctly. That is undoubtedly my fault, but for me CLI is a no-brainer, I know what I am doing and where something fails.

jlinkels

fingers99 11-13-2011 05:41 PM

I'd recommend that -- if you like GUIs -- you use Synaptic. But you can't get away from the sheer power (and speed) of the CLI.


All times are GMT -5. The time now is 07:59 PM.