Deprecation... (with Pacman?)

Arch based Porteus community project
Post Reply
User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Deprecation... (with Pacman?)

Post#1 by blue4meridian » 07 Oct 2015, 21:25

Salutations... :good:

I know how to deprecate (eg. remove packages from) Porteus modules (@ /var/log/packages) with...

Code: Select all

ROOT=/path/unpacked_module removepkg some_pkg
However... it seems Arch packages (@ /var/lib/pacman/local) are a different story altogether. :unknown:

Code: Select all

root@porteus:/home/guest# ROOT=/mnt/sdb5/003-cinnamon64 removepkg python2-2.7.6-3

ls: cannot access /mnt/sdb5/003-cinnamon64/var/log/packages/python2-2.7.6-3*: No such file or directory
No such package: /mnt/sdb5/003-cinnamon64/var/log/packages/python2-2.7.6-3. Can't remove.
The context (admittedly visceral) intended is... deprecated "features" (module packages)...
Deprecation
Among the most common reasons for deprecation are:

The feature has been replaced by a more powerful alternative feature. For instance, the Linux kernel contains two modules to communicate with Windows networks: smbfs and cifs. The latter provides better security, supports more protocol features, and integrates better with the rest of the kernel. Since the inclusion of cifs, smbfs has been deprecated.
Best Regards... :beer:

Posted by 64.134.69.36 via http://webwarper.net
This is added while posting a message to avoid misusing the service
Last edited by blue4meridian on 17 Oct 2015, 14:41, edited 1 time in total.

User avatar
blue4meridian
Shogun
Shogun
Posts: 279
Joined: 29 Sep 2014, 05:58
Distribution: 64bit LxQt (Plastique/Mikachu)
Location: Jersey City N.J. USA

Re: Deprecation?

Post#2 by blue4meridian » 17 Oct 2015, 14:39

Salutations... :good:

I'm not sure if this approach works with Pacman. :unknown:
http://webwarper.net/ww/~av/forum.porte ... =39&t=5102

Best Regards... :beer:

Posted by 64.134.69.36 via http://webwarper.net
This is added while posting a message to avoid misusing the service

User avatar
ncmprhnsbl
Full of knowledge
Full of knowledge
Posts: 785
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Deprecation... (with Pacman?)

Post#3 by ncmprhnsbl » 17 Oct 2015, 21:12

blue4meridian wrote:I'm not sure if this approach works with Pacman.
pretty much.. extract module and run :
pacman -Rddr /path/to/extractedmodule <packagename(s)>.pkg.tar.xz
then pacman -Uddr /path/to/extractedmodule <packagename(s)>.pkg.tar.xz to install what you want

--from pacman help:
$ pacman -h -R
usage: pacman {-R --remove} [options] <package(s)>
options:
-b, --dbpath <path> set an alternate database location
-c, --cascade remove packages and all packages that depend on them
-d, --nodeps skip dependency version checks (-dd to skip all checks)
-n, --nosave remove configuration files
-p, --print print the targets instead of performing the operation
-r, --root <path> set an alternate installation root
-s, --recursive remove unnecessary dependencies (-ss includes explicitly installed dependencies)
-u, --unneeded remove unneeded packages
-v, --verbose be verbose
--arch <arch> set an alternate architecture
--assume-installed <package=version> add a virtual package to satisfy dependencies
--cachedir <dir> set an alternate package cache location
--color <when> colorize the output
--config <path> set an alternate configuration file
--confirm always ask for confirmation
--dbonly only modify database entries, not package files
--debug display debug messages
--gpgdir <path> set an alternate home directory for GnuPG
--logfile <path> set an alternate log file
--noconfirm do not ask for any confirmation
--noprogressbar do not show a progress bar when downloading files
--noscriptlet do not execute the install scriptlet if one exists
--print-format <string> specify how the targets should be printed
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply