You are not logged in.

#1 2010-06-10 00:10:39

caelestis
Member
Registered: 2009-04-04
Posts: 88

Uninstall and start over?

I want to clear my system of all the trash that has accumulated from experimenting and testing my system. I have lost track of all the loose ends on my computer and I would like pacman to clean everything to the point where it was after you just installed archlinux.

Either that or someone please tell me why my usb key won't start up. It just hangs at boots screen. If you stick it in, you can immediately choose boot menu options, but AS SOON as you put it back moving the selection is frozen again. I have an acer 3810tz laptop and used win32diskimager in windows.

Offline

#2 2010-06-10 00:12:15

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Uninstall and start over?

there is a dd app for windows, i used that to copy the image to the usb drive with success.

Offline

#3 2010-06-10 00:45:47

caelestis
Member
Registered: 2009-04-04
Posts: 88

Re: Uninstall and start over?

Nope, I used dd from my existing linux install this time. Refused to boot with it in. The old images worked fine. It's the new hybrid one that is the problem.

Offline

#4 2010-06-10 07:07:03

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: Uninstall and start over?

There isn't anything wrong with starting all over again if that is what you would like to do... I keep everything stored on network and external drives.  So reinstalling isn't really much for me to do personally.  When I uninstall something I use the command:

pacman -Rs {package}

or

yaourt -Rs {package}

Have you tried reinstalling the tools used to mount. Hal, Gamin, Dbus.... what does your .xinitrc look like?  I mean there could be many things going on stopping something from happening.


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#5 2010-06-10 11:11:42

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Uninstall and start over?

if the old image works ok, use that one... use the netinstall one and you will have the same install.

you could also file a bug report on the new isos and describe how it fails accurately.

Offline

#6 2010-06-11 01:05:49

GSF1200S
Member
Registered: 2008-12-24
Posts: 474

Re: Uninstall and start over?

You could run as root:

pacman -Qqe > pacman.list

or if using bauerbill (substitude with yaourt/clyde/etc):

bauerbill -Qqe > pacman.list

Doing this would place a file called pacman.list in the terminal directory (by default /home/username) containing the packages you have installed explicitly. This might give you an idea of things you would like to remove... I dont know a command that would remove all the packages you have installed..

Omit the e from the above and it will list all packages including dependencies. Knowing what packages you have explicitly installed, you can decide which ones you dont want and remove them as an above poster suggested (pacman -Rs). Once you are done with this, you could also run:

pacman -Qdt

which will list all packages that are orphans (packages installed as dependencies that are no longer required by any explicitly installed program).

Last edited by GSF1200S (2010-06-11 01:11:23)

Offline

#7 2010-06-11 08:36:26

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: Uninstall and start over?

This will delete all packages except for those in base:
pacman -R $(pacman -Qq | grep -v "$(pacman -Qqg base)")
Use pacman -Rf if it complains. You might want to do it with a LiveCD ready.
Have fun tongue

Last edited by demian (2010-06-11 08:44:44)


no place like /home
github

Offline

#8 2010-06-12 01:02:43

GSF1200S
Member
Registered: 2008-12-24
Posts: 474

Re: Uninstall and start over?

demian wrote:

This will delete all packages except for those in base:
pacman -R $(pacman -Qq | grep -v "$(pacman -Qqg base)")
Use pacman -Rf if it complains. You might want to do it with a LiveCD ready.
Have fun tongue

Nice.. Writing that one down smile

Offline

#9 2010-06-12 02:05:36

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Uninstall and start over?

demian wrote:

Use pacman -Rf if it complains.

I'd be very wary giving a general suggestion to use pacman -Rf when something complains. In this case I'm pretty sure if that happens it deserves a bug report, as it would mean a base package depends on a non-base package which should never happen.

Offline

#10 2010-06-12 02:18:48

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

Re: Uninstall and start over?

Try this:
1. Save all the crap you want.
2. Boot the LiveCD
3. run /arch/setup


Personally, I'd rather be back in Hobbiton.

Offline

#11 2010-06-13 13:58:12

TaylanUB
Member
Registered: 2009-09-16
Posts: 150

Re: Uninstall and start over?

demian wrote:

This will delete all packages except for those in base:
pacman -R $(pacman -Qq | grep -v "$(pacman -Qqg base)")
Use pacman -Rf if it complains. You might want to do it with a LiveCD ready.
Have fun tongue

Sadly, files scattered around during runtime of a program (as opposed to installation) might remain in place even after a `pacman -Rnssc`. tongue

You might want to go crazy and compare $(pacman -Ql) to $(find / <some options to list everything sanely>), but then you might harm files created/modified in the install-script of a package.

If you have another *nix with pacman installed, `rm -rf /mountpoint` is a good start IMO. big_smile


``Common sense is nothing more than a deposit of prejudices laid down by the mind before you reach eighteen.''
~ Albert Einstein

Offline

Board footer

Powered by FluxBB