You are not logged in.
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
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
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
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
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
-> % pacman -Qi iproute2 |grep Required
Required By : initscripts networkmanagerIt 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...
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 ![]()
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
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
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
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