[HOWTO] Remove a package from a module
Posted: 19 Oct 2015, 03:33
To see which module your package belongs to you can search the live file system. For example, to search for pidgin.
ls -R /mnt/live/memory/images/*/var/log/packages
To remove a package you need to:
1) unpack the module
2) remove the package
3) repack the module
Open a console and change to root by typing: su <--- the default password is toor
In the above code you need to switch /mnt/sdXy for your porteus installation. You can find this with:
ls -R /mnt/live/memory/images/*/var/log/packages
To remove a package you need to:
1) unpack the module
2) remove the package
3) repack the module
Open a console and change to root by typing: su <--- the default password is toor
Code: Select all
mkdir /tmp/unpacked
xzm2dir /mnt/sdXy/porteus/base/002-xorg.xzm /tmp/unpacked
ROOT=/tmp/unpacked removepkg pidgin
dir2xzm /tmp/unpacked /tmp/002-xorg.xzm
Code: Select all
awk -F/ '/s data/ { getline; print$3 }' /var/log/porteus-livedbg