You are not logged in.
Pages: 1
Hi,
Today, after I migrated to KDE-meta from KDEmod, i did
pacman -Rsn shaman2-svn
which showed that it is removing shaman and aqpm. I proceeded after which, while tried to make sure that everything is up-to-date with pacman -Syu, I got the following error:
bash: /usr/bin/pacman: No such file or directory
I downloaded the pacman package (pacman-3.4.0-2-x86_64.pkg.tar.gz) from repository and tried various commands to install it. Nothing worked. I do not know the right command to invoke it. Please help me.
Mine is a 64 bit installation.
Last edited by absolutevoid (2010-08-25 07:15:31)
Everything void is absolute and everything absolute is void.
Offline
it is removing pacman and aqpm. I proceeded after which, while tried to make sure that everything is up-to-date with pacman -Syu, I got the following error: No such file or directory
makes sense, no? you will need to untar the pacman package to root. Maybe you have to do the same for dependencies as well, have a look into pacman wiki troubleshooting section. And do not remove pacman next time you have the chance to
Last edited by hokasch (2010-08-20 10:20:40)
Offline
it is removing pacman and aqpm.
Oh sorry. That was a typo from my part. it is
removing shaman and aqpm
Everything void is absolute and everything absolute is void.
Offline
you will need to untar the pacman package to root.
I did this. now, pacman is back in /usr/bin. But no result. I am not able to search or download files using pacman, let alone, install it.
Maybe you have to do the same for dependencies as well, have a look into pacman wiki troubleshooting section.
hmm, that is tricky. http://www.archlinux.org/packages/core/x86_64/pacman/ is showing four dependencies. But I suppose, these must be there in my system itself. Otherwise, should I untar these packages too in root?
And do not remove pacman next time you have the chance to
will never!
Everything void is absolute and everything absolute is void.
Offline
Hi there,
You have to untar the dependencies only if they are not already on the system (obvious I know...). Here is how to check quickly without pacman:
$ ls /var/lib/pacman/local | grep package-name-here
Exemple for libarchive on my system :
$ ls /var/lib/pacman/local | grep libarchive
libarchive-2.8.4-1
Cool, I have libarchive version 2.8.4-1 installed
Once your done with manual package untar, don't forget to force install (-Sf) pacman so the package and its dependencies get properly installed
Good luck
Carpe Diem
Offline
Checking your pacman log (or posting it here) would be a good way to find out what actually happened.
P.S.:
I did this. now, pacman is back in /usr/bin. But no result. I am not able to search or download files using pacman, let alone, install it.
what errors do you get?
Last edited by hokasch (2010-08-20 12:38:59)
Offline
Thank you NSB-fr for the tip on ls
The only missing dependency was pacman-mirrorlist and I installed it.
# pacman -U pacman-mirrorlist-20100808-1-any.pkg.tar.gz
ie, pacman -U worked. I hadn't done pacman -Sf pacman after having extracted it in root. The mirrorlist is installed as mirrorlist.pacnew. Reflect script, which I had in my system is not working. Meanwhile, I tried to install some packages using pacman -S <packagename>. But I am getting the following error:
error: 'pacman': could not find or read package
So I copied the tar.gz file of pacman to /var/cache/pacman/pkg and tried
root /var/cache/pacman/pkg # pacman -U pacman
error: 'pacman': cannot open package file
Then I again tried with
root /var/cache/pacman/pkg # pacman -U pacman-3.4.0-2-x86_64.pkg.tar.gz
resolving dependencies...
looking for inter-conflicts...
Targets (1): pacman-3.4.0-2
Total Download Size: 0.00 MB
Total Installed Size: 2.23 MB
Proceed with installation? [Y/n] y
checking package integrity...
(1/1) checking for file conflicts [############################################] 100%
(1/1) upgrading pacman [############################################] 100%
So I have to think that pacman is installed.
The next step I tried was with rankmirrors.
root /etc/pacman.d # rankmirrors -n 6 mirrorlist.pacnew > mirrorlist
root /etc/pacman.d # pacman -Syy
:: Synchronizing package databases...
downloading core.db.tar.gz...
downloading extra.db.tar.gz...
community 0.0K 0.0K/s 00:00:00 [--------------------------------------------] -214
As you can see, not even a message is displayed. Am I lost? I am totally clueless.
Last edited by absolutevoid (2010-08-20 12:50:43)
Everything void is absolute and everything absolute is void.
Offline
Checking your pacman log (or posting it here) would be a good way to find out what actually happened.
Here is the tail end of the log. Probles started after uninstalling shaman. So I am attaching the log from that onwards.
[2010-08-20 12:30] Running 'pacman -R shaman2-svn'
[2010-08-20 12:31] Running 'pacman -Rsn shaman2-svn'
[2010-08-20 12:31] removed shaman2-svn (1136181-2)
[2010-08-20 12:31] removed aqpm2 (20100615-2)
[2010-08-20 16:07] Running 'pacman -Syu'
[2010-08-20 16:07] synchronizing package lists
[2010-08-20 16:07] starting full system upgrade
[2010-08-20 16:08] Running 'pacman -Syu'
[2010-08-20 16:08] synchronizing package lists
[2010-08-20 16:08] starting full system upgrade
[2010-08-20 16:08] Running 'pacman -S imagemagik'
[2010-08-20 16:09] Running 'pacman -S gimp'
[2010-08-20 16:11] Running 'pacman -S k3b'
[2010-08-20 16:14] Running 'pacman -S pacman'
[2010-08-20 17:24] Running 'pacman -U pacman-mirrorlist-20100808-1-any.pkg.tar.gz'
[2010-08-20 17:24] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2010-08-20 17:24] upgraded pacman-mirrorlist (20100620-2 -> 20100808-1)
[2010-08-20 17:25] Running 'pacman -Sf pacman'
[2010-08-20 17:25] Running 'pacman -U pacman'
[2010-08-20 17:28] Running 'pacman -S reflect'
[2010-08-20 18:00] Running 'pacman -U pacman'
[2010-08-20 18:00] Running 'pacman -Sf pacman'
[2010-08-20 18:02] Running 'pacman -Sf pacman'
[2010-08-20 18:02] Running 'pacman -S yaourt'
[2010-08-20 18:11] Running 'pacman -Syy'
[2010-08-20 18:11] synchronizing package lists
[2010-08-20 18:16] Running 'pacman -U pacman-3.4.0-2-x86_64.pkg.tar.gz'
[2010-08-20 18:16] upgraded pacman (3.4.0-2 -> 3.4.0-2)
[2010-08-20 18:16] Running 'pacman -Sf pacman-3.4.0-2-x86_64.pkg.tar.gz'
P.S.:
I did this. now, pacman is back in /usr/bin. But no result. I am not able to search or download files using pacman, let alone, install it.
what errors do you get?
I will show an example. Here I am trying to install drupal. [http://www.archlinux.org/packages/community/any/drupal/] Meanwhile, I do find that there is a missing dependency for kipi-plugins too. So I am also trying to install it.
sebinaj ~
$ sudo pacman -S drupal
Password:
error: 'drupal': could not find or read package
sebinaj ~
$ yaourt -S drupal
error: 'drupal': could not find or read package
missing dependency for kipi-plugins : libgpod
sebinaj ~
$ yaourt -S libgpod
error: 'libgpod': could not find or read package
missing dependency for kipi-plugins : libgpod
sebinaj ~
$ sudo pacman -S libgpod
error: 'libgpod': could not find or read package
Another thing, I noticed was, pacman -Q was working while pacman -Ss was not yielding any results.
Last edited by absolutevoid (2010-08-20 14:27:51)
Everything void is absolute and everything absolute is void.
Offline
From where can I get help on this subject? How could I zync with the rolling releases?
Everything void is absolute and everything absolute is void.
Offline
http://wiki.archlinux.org/index.php/Pac … tall_it.3F
Perhaps you are missing one of the packages listed in the wiki (THE WIKI!!!).
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
http://wiki.archlinux.org/index.php/Pac … tall_it.3F
Perhaps you are missing one of the packages listed in the wiki (THE WIKI!!!).
Thanks Toad. I had checked whether all of the dependencies were in place after NSB-fr told so and yeah, they were up to date.
The problem was, I later figured out myself, to be un-updated mirrors listed in /etc/pacman.d/mirrorlist. I had downloaded the package pacman-mirrorlist-20100808-1-any.pkg.tar.gz and installed it. But I did use the rankmirrors script to rank it and the listed six were obviously not having the rsync access on rsync.archlinux.org. It may have been disabled for all mirrors that have not moved to 2-tier scheme according to this mail . I came to know about this from this forum discussion.
So what I did to overcome this was, I downloaded reflector and installed it using -U switch. Then used the command
reflector -l 5 -r -o /etc/pacman.d/mirrorlist
after which pacman -Suy was working perfect.
Everything void is absolute and everything absolute is void.
Offline
Great! Glad you got it sorted
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Pages: 1