apt-get upgrade problem

Derek Broughton news at pointerstop.ca
Wed Oct 26 17:17:32 UTC 2005


Vram wrote:

>> > I tried dist-upgrade and it just says...   HELD back...
>> > 
>> > See my older post..
>> 
>> D**n!  You did say that, didn't you :-)
>> 
>> What repo is your sources.list currently pointing to?  You've not made it
>> clear.
>> 
>> When did you last do apt-get update?
> 
> 
> /etc/apt/sources.list   follows..
> 
> deb http://archive.ubuntu.com/ubuntu hoary  main restricted
> deb-src http://archive.ubuntu.com/ubuntu hoary  main restricted

You'd be wise to point those at a closer mirror (xx.archive.ubuntu.com,
where xx is a country code).

>  deb http://archive.ubuntu.com/ubuntu hoary universe
>  deb-src http://archive.ubuntu.com/ubuntu hoary universe
> 
> deb http://security.ubuntu.com/ubuntu hoary-security main restricted
> deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

You don't have hoary-updates.  Duplicate hoary-security for hoary-updates.
> 
> #Debian security updates
> deb ftp://security.debian.org/debian-security sarge/updates main contrib
> non-free
> deb ftp://security.debian.org/debian-security stable/updates main
> contrib non-free

And those could be a real problem.  Hoary was based on sarge, originally,
but the sarge that was released as Debian stable just a few weeks ago           
is much closer to Breezy than Hoary.  Never include debian repos without
_very_ careful use of pinning.  There are very few packages that you can
get from Debian that you can't get from a source that packages it
especially for Ubuntu - on my system, only Mambo (still experimental on
Debian) and Tomcat (I think - I haven't had an update in so long that I
suppose I could be getting it off Ubuntu, now)
> 
> 
> And I update and upgrade .. At least every 2nd or 3rd day

Remove the Debian repo, add hoary-updates, do an update, try dist-upgrade. 
Then if you really need Debian, add it back _only_ to update those specific
packages.
-- 
derek





More information about the ubuntu-users mailing list