[HOWTO] Remove a package from a module

Post tutorials, HOWTO's and other useful resources here.
Post Reply
User avatar
brokenman
Site Admin
Site Admin
Posts: 5436
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

[HOWTO] Remove a package from a module

Post#1 by brokenman » 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

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
In the above code you need to switch /mnt/sdXy for your porteus installation. You can find this with:

Code: Select all

awk -F/ '/s data/ { getline; print$3 }' /var/log/porteus-livedbg
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply