You are not logged in.

#1 2019-11-05 18:40:32

ap824
Member
Registered: 2019-11-05
Posts: 1

Unable to remove packages [SOLVED]

So a while ago I installed the Blackarch repository and all of its packages on top of my installed Arch, but I never use any of them so I decided to remove them.

As an attempt to remove them, I did:

paclist blackarch
paclist blackarch | cut -d' ' -f1 | xargs sudo pacman -R

Removing a few of the packages would break dependencies so I did

echo paclist blackarch >> asdf.txt

I removed the packages that would break dependencies from the asdf.txt list and the next command was:

cat asdf.txt | xargs sudo pacman -R

And this is where I ran into a problem, the output was

checking dependencies...
:: electrum optionally requires python-rpyc: send commands to Electrum Python console from an external script
:: electrum optionally requires python-qdarkstyle: optional dark theme in graphical mode
:: htop optionally requires strace: attach to a running process
:: python-stem optionally requires tor: tor-server to talk to
:: python2-django optionally requires python2-psycopg2: for PostgreSQL backend
:: python2-engineio optionally requires python2-gevent-websocket: gevent driver
:: python2-eventlet optionally requires python2-psycopg2: non-blocking PostgreSQL support
:: python2-sqlalchemy optionally requires python2-psycopg2: connect to PostgreSQL database
:: ranger optionally requires perl-image-exiftool: for viewing information about media files
:: zim optionally requires xdot: Link Map plugin

Packages (3026) 0d1n-1:210.78028eb-2  0trace-1.5-3  3proxy-0.8.13-1  3proxy-win32-0.8.13-1  42zip-1:42-3
                a2sv-135.973ba13-1  abcd-4.2738809-2  abuse-ssl-bypass-waf-5.3ffd16a-1  acccheck-0.2.1-4  ace-1.10-4.........
                ......zirikatu-7.afe1d9c-1  zizzania-124.8f2062f-1  zmap-2.1.1-5  zssh-1.5c-11  zulu-0.1-4  zulucrypt-5.5.0-1
                zykeys-0.1-3  zzuf-0.15-2

Total Removed Size:  28976.01 MiB

:: Do you want to remove these packages? [Y/n] %    

I removed most of the packages listed as not to take up too much space
The problem here is that I am not prompted to enter [Y/n], instead ' % ' is printed on the line the process seemingly is ended. Is there any way I can get around this? Or is there any better way to remove Blackarch packages?

Last edited by ap824 (2019-11-06 04:42:08)

Offline

#2 2019-11-05 21:35:55

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,673
Website

Re: Unable to remove packages [SOLVED]

cat asdf.txt | sudo pacman -R -

Offline

#3 2019-11-05 22:11:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,526
Website

Re: Unable to remove packages [SOLVED]

Save the cats!

sudo pacman -R - < asdf.txt

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB