Comment 3 for bug 513460

Revision history for this message
pvs (pvs-nmsu) wrote : Re: [Bug 513460] Re: "Save markings, " "Save markings as..." and "Generate package download script" create empty files (in the case of "generate scrip" only one line: "#!/bin/sh"). Or, alternatively, do nothing: no new file created with the assigned name.

> Could you please describe the steps to recreate it ?
> What are the other report you are referring to ?
>

Start the Synaptic package manager (under user account; enter
password when asked)

File -> Save markings as...

Give file name (e.g. markings): empty file is created (0 bytes)

File -> Generate package download script

Give file name (e.g. download.sh): file is created, contains a
single line: #!/bin/sh

Variation: tried selecting all installed packages first
On Synaptic, select "Installed," highlight the first (click) then
move to the last in the list, shift-click: all installed packages
are now highlighted.

Package -> Mark for reinstallation
After awhile all installed packages are marked

File -> Save markings as...
Still empty file

File -> Generate package download script
Now the script has some entries:

#!/bin/sh
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/d/dpkg/dpkg_1.15.4ubuntu2_i386.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/universe/x/xemacs21/xemacs21-support_21.4.22-2ubuntu1_all.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/b/base-files/base-files_5.0.0ubuntu7_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/b/bash/bash_4.0-5ubuntu2_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/c/coreutils/coreutils_7.4-2ubuntu1_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/d/dash/dash_0.5.5.1-2ubuntu3_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/d/debianutils/debianutils_2.30ubuntu3_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/d/diffutils/diff_2.8.1-13_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/e/e2fsprogs/e2fsprogs_1.41.9-1ubuntu3_i386.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/universe/t/texmacs/texmacs_1.0.7.2-1_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/f/findutils/findutils_4.4.2-1_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/g/grep/grep_2.5.4-4_i386.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/g/gzip/gzip_1.3.12-8ubuntu1.1_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/i/insserv/insserv_1.12.0-11_i386.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/s/sysvinit/sysv-rc_2.87dsf-4ubuntu12_all.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/s/sysvinit/initscripts_2.87dsf-4ubuntu12_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/h/hostname/hostname_2.95ubuntu1_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/s/shadow/login_4.1.4.1-1ubuntu2_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/u/util-linux/mount_2.16-1ubuntu5_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/n/ncurses/ncurses-bin_5.7+20090803-2ubuntu2_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/p/perl/perl-base_5.10.0-24ubuntu4_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/s/sed/sed_4.2.1-1_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/t/tar/tar_1.22-1_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/u/util-linux/util-linux_2.16-1ubuntu5_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/b/base-passwd/base-passwd_3.5.21_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/u/util-linux/bsdutils_2.16-1ubuntu5_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/n/ncurses/ncurses-base_5.7+20090803-2ubuntu2_all.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/p/python-defaults/python-minimal_2.6.4-0ubuntu1_all.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/d/debconf/debconf_1.5.27ubuntu2_all.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/libl/liblocale-gettext-perl/liblocale-gettext-perl_1.05-4build1_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/p/pam/libpam-modules_1.1.0-2ubuntu1_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/m/mountall/mountall_1.0_i386.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/u/upstart/upstart_0.6.3-11_i386.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-i686_2.10.1-0ubuntu16_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/m/mawk/mawk_1.3.3-15ubuntu1_i386.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/n/ntfs-3g/ntfs-3g_2009.4.4-1ubuntu4_i386.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/main/x/xorg/x11-common_7.4+3ubuntu10_all.deb
wget -c cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091027)]/pool/main/x/xauth/xauth_1.0.3-2_i386.deb
wget -c http://us.archive.ubuntu.com/ubuntu/pool/universe/c/clisp/clisp_2.44.1-4.1ubuntu2_i386.deb
wget -c
wget -c
wget -c
wget -c
wget -c
wget -c

...and thousands more lines "wget -c" with nothing to wget.

Maybe I misunderstand how this is supposed to work.

As for other reports, when I opened a bug report and described the
symptoms I was shown several similar reports asking if they were the
same. Since my report included information I didn't see in these (such
as the behavior where the file is saved under the root account, still
empty) I decided to file a new one. I don't remember what the numbers
were of these other reports.
                                                           Vassili