Weblog entry #44 for Utumno

aptitude does not have Super Cow Powers
Posted by Utumno on Wed 8 Oct 2008 at 09:38
Tags:

I host a small phpbb2-powered forum. It is modified by myself (I remember 2 years ago I spent some 2 days applying various source-based patches so that for instance one can send files to the forum, modifying the theme and translating various icons, replacing phpbb's default MSN with Gadu-Gadu which is a instant messanging system popular in Poland ). So I have put the 3 phpbb2-* packages on hold and apt-get has always honored that. Today however I decided to finally switch to aptitude:

aptitude update
aptitude safe-upgrade

and... turns out aptitude does not honor apt-get's 'hold' status. It merrily went on and upgraded my phpbb2 and all my changes are gone.

Blindly trying 'aptitude rollback phpbb2' resulted in

This aptitude does not have Super Cow Powers

Now what? Any advice?

 

Comments on this Entry

Posted by Anonymous (195.28.xx.xx) on Wed 8 Oct 2008 at 10:47
copy your changes from backup ;-)

aaah, you don't have any backup? for over two years? ;-(

[ Parent | Reply to this comment ]

Posted by Utumno (60.248.xx.xx) on Wed 8 Oct 2008 at 11:44
[ Send Message | View Utumno's Scratchpad | View Weblogs ]

oh wait, that reminds me... I do have a backup :)
Honestly, I didn't need it so long I almost forgot about it!

But, the original Q still stands: what if i didn't have one?

[ Parent | Reply to this comment ]

Posted by Anonymous (195.28.xx.xx) on Wed 8 Oct 2008 at 13:44
I used dselect for marking "hold" packages and now I'm using aptitude and I have no problem with such packages. Anyway, aptitude needs confirmation from user, so who confirm aptitude's action? I think, aptitude works fine. Maybe you made some mistake. Can you check status before 'action' and after 'action' or reproduce 'action'?

[ Parent | Reply to this comment ]

Posted by i5513 (213.227.xx.xx) on Fri 10 Oct 2008 at 22:57
[ Send Message | View Weblogs ]
don't you have your older packages ??

dpkg -i ...

aptitude --> '=' command to hold

[ Parent | Reply to this comment ]

Posted by Anonymous (60.248.xx.xx) on Wed 15 Oct 2008 at 09:16
What older packages? Those were *source based* patches to an existing (installed!) phpbb2

[ Parent | Reply to this comment ]

Posted by i5513 (89.140.xx.xx) on Wed 15 Oct 2008 at 10:50
[ Send Message | View Weblogs ]
Then ... this is one issue where debian packaging rocks (you could download source package modify it and repack your package).

I'm sorry for your data

[ Parent | Reply to this comment ]

Posted by september (89.113.xx.xx) on Tue 14 Oct 2008 at 15:48
[ Send Message ]
This aptitude does not have Super Cow Powers <- lol =)

[ Parent | Reply to this comment ]

Posted by Anonymous (83.12.xx.xx) on Sat 25 Oct 2008 at 04:22
Someone didn't try apt-get moo

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search