View Single Post
Posts: 2 | Thanked: 0 times | Joined on Mar 2007
#8
I just tested the commands with my current OS by first uninstalling the app 'wget' via the gui and then reinstalling it via console:

1. Save installed packages:
Code:
$ dpkg --get-selections > packages.txt
2. Check if app "wget" is in packages.txt
Code:
$ less packages.txt | grep wget
wget     install
3. Uninstall wget via gui (I'll try to reinstall it via console in the next step).

4. Try to reinstall wget:
Code:
$ cat packages.txt | dpkg --set-selections
$ apt-get dselect-upgrade -su

Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
  libblkid1 libuuid1 mount wget
The following packages will be upgraded:
  busybox
1 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Inst libblkid1 (1.37-2sarge1 repository.maemo.org)
Conf libblkid1 (1.37-2sarge1 repository.maemo.org)
Inst libuuid1 (1.37-2sarge1 repository.maemo.org)
Conf libuuid1 (1.37-2sarge1 repository.maemo.org)
Inst busybox [3:1.1.3-3.osso17] (3:1.1.3-3.sdk3 repository.maemo.org) []
Inst mount (2.12p-4sarge1.osso2 repository.maemo.org)
Conf mount (2.12p-4sarge1.osso2 repository.maemo.org)
Inst wget (1.10.2-2ubuntu1mg2 aggregated packages by Marius Gedminas:maemo3.0)
Conf busybox (3:1.1.3-3.sdk3 repository.maemo.org)
Conf wget (1.10.2-2ubuntu1mg2 aggregated packages by Marius Gedminas:maemo3.0)

As you can see, 'wget' (and some other packages?) will be installed.

After running
Code:
$ apt-get dselect-upgrade
(without 'su') 'wget' is installed again and everthing seems fine.

Thanks for your help.

smo