LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-11-2011, 04:12 PM   #1
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
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.
 
Old 11-11-2011, 05:40 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
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
 
Old 11-12-2011, 05:56 AM   #3
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Original Poster
Rep: Reputation: 166Reputation: 166
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.
 
Old 11-12-2011, 08:31 AM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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
 
Old 11-13-2011, 10:22 AM   #5
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Original Poster
Rep: Reputation: 166Reputation: 166
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.
 
Old 11-13-2011, 11:38 AM   #6
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Quote:
Originally Posted by Fred Caro View Post
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 View Post
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

Last edited by jlinkels; 11-13-2011 at 11:40 AM.
 
Old 11-13-2011, 06:41 PM   #7
fingers99
Member
 
Registered: Nov 2011
Location: Liverpool UK
Distribution: Debian, Knoppix, Kanotix
Posts: 63

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian update manager states updates available but won't update EDDY1 Debian 15 07-01-2011 12:07 AM
SDA listed as HDA conflict during SuSE 10.2 Update charleswallace Linux - General 2 08-03-2007 06:55 PM
Debian Update Manager carlosinfl Debian 7 09-14-2006 02:59 PM
CUPS not listed in KDE Service Manager PTrenholme Fedora 4 12-16-2005 01:49 PM
Dependancies say they're already at the newest version, PekWM argues (Debian) Insecure Linux - Software 2 03-15-2004 07:19 PM


All times are GMT -5. The time now is 07:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration