Entry tags:
[geek] overly complicated debian testing aptitude upgrades
On my debian stable system I run "aptitude update;aptitude dist-upgrade", and it is wonderful. On my debian testing system, upgrades are a pain in the ass. And I haven't found any simple thing that says "this is how you do a basic upgrade".
This is what I've come up with, tell me what I'm missing:
$ rm /etc/apt/preferences
$ aptitude
[u]pdate
[U]pgrade
[g]o
[ok] (to accept..upgrade path)
[g]o
[half these package have heinous bugs] Are you sure you want to install/upgrade the above packages? [Y/n/?/...] [p]in # tells it not to upgrade these in the future, stored in /etc/apt/preferences
Are you sure [Y/n]? [y]es
Are you sure you want to install/upgrade the above packages?[N/?/...] [n]o
A package failed to install. Trying to recover:
Press return to continue. <enter>
[g]o
[ok]
[g]o
And here's the part that really pisses me off:
libfreetype6(2 bugs), libssl0.9.8(3 bugs), libc6(6 bugs) [have heinous bugs, do you want to install them?] I
I already told you no!! So I copy and paste the names into another terminal, and...
[n]o
A package failed to install. Trying to recover:
Press return to continue. <enter>
/libfreetype6 (to find that package)
: (temporarily flag this thing not upgradable)
/libssl0.9.8
:
/libc6
:
b (to search for other packages who's dependancies are now broken due to the above packages not being upgraded)
: (set those broken packages to not be upgraded
..repeat those last two steps 7 more times (obviously varies)
[g]o
[ok]
[g]o
And then, finally, it upgrades the freaking packages.
What's the easier way to accomplish this that I must be missing?
I don't see why I can't just do "aptitude update;aptitude --don't-install-broken-shit dist-upgrade".
This is what I've come up with, tell me what I'm missing:
$ rm /etc/apt/preferences
$ aptitude
[u]pdate
[U]pgrade
[g]o
[ok] (to accept..upgrade path)
[g]o
[half these package have heinous bugs] Are you sure you want to install/upgrade the above packages? [Y/n/?/...] [p]in # tells it not to upgrade these in the future, stored in /etc/apt/preferences
Are you sure [Y/n]? [y]es
Are you sure you want to install/upgrade the above packages?[N/?/...] [n]o
A package failed to install. Trying to recover:
Press return to continue. <enter>
[g]o
[ok]
[g]o
And here's the part that really pisses me off:
libfreetype6(2 bugs), libssl0.9.8(3 bugs), libc6(6 bugs) [have heinous bugs, do you want to install them?] I
I already told you no!! So I copy and paste the names into another terminal, and...
[n]o
A package failed to install. Trying to recover:
Press return to continue. <enter>
/libfreetype6 (to find that package)
: (temporarily flag this thing not upgradable)
/libssl0.9.8
:
/libc6
:
b (to search for other packages who's dependancies are now broken due to the above packages not being upgraded)
: (set those broken packages to not be upgraded
..repeat those last two steps 7 more times (obviously varies)
[g]o
[ok]
[g]o
And then, finally, it upgrades the freaking packages.
What's the easier way to accomplish this that I must be missing?
I don't see why I can't just do "aptitude update;aptitude --don't-install-broken-shit dist-upgrade".

no subject