aptitude crashes if cd-rom is not present while installing more than one package

Bug #80260 reported by Marco Lazzaroni
6
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned
aptitude (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: aptitude

Aptitude 0.4.1, run in ubuntu server 06.10

The problem is reproducible.

1- My /etc/apt/sources.list has the installation cd line among the sources
2- the installation cd is not in the cd-rom reader
3- I open aptitude to install a package that requires other packages (I tried with ntp-simple - it requires ntp and ntp-server)
4- when aptitude asks for the cd, I choose abort everytime

->> segmentation fault.

Best regards,
 Marco Lazzaroni

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Thank you for your bug report.
Could you please try to obtain a backtrace of the crash? You may follow the instruction listed here: https://wiki.ubuntu.com/Backtrace.

Changed in aptitude:
status: Unconfirmed → Needs Info
assignee: nobody → dktrkranz
Revision history for this message
Marco Lazzaroni (marcolazzaroni) wrote :

I have some trouble in producing the desired output since I modified /etc/apt/sources.list in order to exclude the cd rom from the sources. Now I have restored the cd source and I deleted the deb files from /var/cache but aptitude ignores my choice of using cd rom and downloads the .deb files from the internet. I don't know why!
I'll try to get the desired output tonight starting from a fresh installation, since I found this problem on a vmware system and on a real machine.
Cheers
Marco

Revision history for this message
Marco Lazzaroni (marcolazzaroni) wrote :

I find out how to reproduce the problem. For some reason, uncommenting the cdrom line in sources.list is not enough, you have to do
apt-cdrom add

attached you can find the gdb output as required

Changed in aptitude:
assignee: dktrkranz → nobody
status: Needs Info → Confirmed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Closing aptitude task and assign it to apt.
Could you please try with newer versions? Thank you.

Changed in aptitude:
status: Unconfirmed → Rejected
Revision history for this message
Marco Lazzaroni (marcolazzaroni) wrote :

Perhaps I haven't got it.
I think that the bug shouldn't have been closed: if the problem persist, I have to open a new bug for the very same problem...

Revision history for this message
Julian Andres Klode (juliank) wrote :

Let's close this bug now.

Changed in apt (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Marco Lazzaroni (marcolazzaroni) wrote :

Has this been solved?
Cheers

Revision history for this message
Julian Andres Klode (juliank) wrote :

I misread something, but really, does it still exist?

Changed in apt (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Steven Richards (steven.richards) wrote :

Closing this for now...

Changed in apt (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.