You are not logged in.

#1 2012-03-10 07:26:30

jamgood96
Member
Registered: 2012-01-09
Posts: 42

[SOLVED] I'm Dumb - Installed/removed Iproute2

I made a boo-boo. I installed iproute2, then uninstalled it, and now my internet doesn't seem to be working. The dumb part is I used -Rnsdd to remove it and I think that's what broke it. I tried -Rns but it gave me

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: initscripts: requires iproute2

so that's the reason I did -Rnsdd. I also installed net-tools and then removed it via -Rns.

Pacman isn't working, the command "ip addr" is no longer found, and ping can't find any hosts. How bad did I break things and what can I do to fix it?

Thanks!

James

Last edited by jamgood96 (2012-03-12 17:06:38)

Offline

#2 2012-03-10 07:49:01

Blµb
Member
Registered: 2008-02-10
Posts: 224

Re: [SOLVED] I'm Dumb - Installed/removed Iproute2

Unless you also did pacman -Sc to clean your package cache you can reinstall it using
pacman -U /var/cache/pacman/pkg/iproute2-....pkg.tar.xz
(Just use the latest version you have in that folder)

Last edited by Blµb (2012-03-10 07:49:08)


You know you're paranoid when you start thinking random letters while typing a password.
A good post about vim
Python has no multithreading.

Offline

#3 2012-03-10 08:10:01

jamgood96
Member
Registered: 2012-01-09
Posts: 42

Re: [SOLVED] I'm Dumb - Installed/removed Iproute2

Blµb wrote:

Unless you also did pacman -Sc to clean your package cache you can reinstall it using
pacman -U /var/cache/pacman/pkg/iproute2-....pkg.tar.xz
(Just use the latest version you have in that folder)

I guess I don't understand how things worked fine before I installed iproute2, as it seems it wasn't installed with Arch, but after I installed it and then removed it, things no longer work. What's the connection?

Offline

#4 2012-03-10 08:14:51

meph
Member
Registered: 2011-06-06
Posts: 160

Re: [SOLVED] I'm Dumb - Installed/removed Iproute2

Pacman isn't working? How exactly, what error messages do you get? Removing just iproute2 package wouldn't break pacman, can you post the relevant part of your /var/log/pacman.log?


Running arch is like raising a puppy - if you spend a bit of time with it each day and do just a bit of training you'll end up with the most loyal partner you could want; if you lock it in a room and don't check on if for several days, it'll tear apart your stuff and poop everywhere.

Offline

#5 2012-03-10 08:23:39

jamgood96
Member
Registered: 2012-01-09
Posts: 42

Re: [SOLVED] I'm Dumb - Installed/removed Iproute2

I'll try to stop by our office and take a look at the logs.

Sorry, Pacman is working, just not because there is no internet.

Offline

#6 2012-03-10 08:47:44

Blµb
Member
Registered: 2008-02-10
Posts: 224

Re: [SOLVED] I'm Dumb - Installed/removed Iproute2

-> % pacman -Qi iproute2 |grep Required
Required By    : initscripts  networkmanager

It must have been installed before. Maybe something happend to your package database. Do you use pacman-cage or anything that could possibly have failed on you?
I once lost my db due to a fail-try of pacman-cage... tongue Just recently I realized that initscripts wasn't even "installed", and I had a version from over a year ago installed.
Had to used pacman -Sf to install it...

In nay case, since networkmanager and initscripts need that package, you most likely won't get a network connection without it.
But as I wrote before, you can reinstall it from the package cache, without requiring a network connection, unless you cleaned your package cache.
/var/cache/pacman/pkg normally contains all the packages you downloaded smile


You know you're paranoid when you start thinking random letters while typing a password.
A good post about vim
Python has no multithreading.

Offline

#7 2012-03-10 09:03:16

meph
Member
Registered: 2011-06-06
Posts: 160

Re: [SOLVED] I'm Dumb - Installed/removed Iproute2

jamgood96 wrote:

I'll try to stop by our office and take a look at the logs.

Sorry, Pacman is working, just not because there is no internet.

Ah, a misunderstanding then. No need to search in logs, your problem most likely is caused by your removing the package.

Are you absolutely sure that you didn't just reinstall the package, when you originally 'installed' it? If you did a simple 'pacman -S iproute2', then it would have been easy to miss. Also it wouldn't moan about dependencies, since everything was already in place, but once you tried to remove it, it would present itself exactly as you described. Anyway, reinstalling the package manually via 'pacman -U' should help, as Blµb suggested.


Running arch is like raising a puppy - if you spend a bit of time with it each day and do just a bit of training you'll end up with the most loyal partner you could want; if you lock it in a room and don't check on if for several days, it'll tear apart your stuff and poop everywhere.

Offline

#8 2012-03-10 14:00:05

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: [SOLVED] I'm Dumb - Installed/removed Iproute2

download the package, copy over using usb stick or whatever, pacman -U it.

Sidenote: what made you think that removing iproute2 was a good idea? Specially after the init scripts complaining that it needed it.

Last edited by Mr.Elendig (2012-03-10 14:00:49)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#9 2012-03-10 23:00:00

jamgood96
Member
Registered: 2012-01-09
Posts: 42

Re: [SOLVED] I'm Dumb - Installed/removed Iproute2

Mr.Elendig wrote:

download the package, copy over using usb stick or whatever, pacman -U it.

Sidenote: what made you think that removing iproute2 was a good idea? Specially after the init scripts complaining that it needed it.

Yep, that worked.

As for why did I remove it... cause I'm a little dumb sometimes. lol. I looked into netstat and net-tools, found it was deprecated by iproute2 and wasn't aware that was installed already. So I installed it, then decided to uninstall and didn't pay attention. Basically, I don't know what I'm doing sometimes :-)

Thank you so much guys!

James

Offline

#10 2012-03-11 15:34:34

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [SOLVED] I'm Dumb - Installed/removed Iproute2

Please mark this thread as solved.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

Board footer

Powered by FluxBB