You are not logged in.
They will be symlinked, but if I understand correctly, future versions of pacman won't traverse the symlinks when installing, so the files need to be moved to /usr/bin in the package itself.
Online
What would fix any package mean: 1) recompile by editing PKGBUILD or 2) manually move executables to /usr/bin? Of course recompiling is the best solution but I am asking in case I hit wall modifying PKGBUILD will it be okay to move files from /bin, /sbin, and /usr/sbin to /usr/bin by hand?
Recompiling is best, but you can move them if you update the filelist file in /var/lib/pacman/local/<pkgname>
Will /bin, /sbin, and /usr/sbin be deleted or symlinked to /usr/bin?
symlinks.
Offline
Just updated testing repo on a virtual machine
pacman -Syu --ignore filesystem
pacman -Su
without a problem, syslinux did not appear on reboot easy to fix, now working fine
Mr Green
Offline
Just updated testing repo on a virtual machine
pacman -Syu --ignore filesystem pacman -Su
without a problem, syslinux did not appear on reboot easy to fix, now working fine
Why not
# pacman -Syu --ignore filesystem,bash
# pacman -S bash
# pacman -Su
as the latest version of the instructions says?
https://mailman.archlinux.org/pipermail … 25043.html
Offline
I never read instructions. Only this thread... I will reinstall and try again
:: Synchronizing package databases...
testing is up to date
core is up to date
extra is up to date
community-testing is up to date
community is up to date
archbang is up to date
:: Starting full system upgrade...
warning: bash: ignoring package upgrade (4.2.045-1 => 4.2.045-4)
warning: filesystem: ignoring package upgrade (2013.03-2 => 2013.05-2)
resolving dependencies...
warning: cannot resolve "libmbim", a dependency of "modemmanager"
warning: cannot resolve "libmbim", a dependency of "modemmanager"
:: The following package cannot be upgraded due to unresolvable dependencies:
modemmanager
:: Do you want to skip the above package for this upgrade? [y/N]
Last edited by Mr Green (2013-06-03 09:55:37)
Mr Green
Offline
If you're using [testing], you should be subscribed to arch-dev-public ML.
Offline
Not sure I would be allowed...
warning: cannot resolve "libmbim", a dependency of "modemmanager"
:: The following package cannot be upgraded due to unresolvable dependencies:
modemmanager
:: Do you want to skip the above package for this upgrade? [y/N] n
error: failed to prepare transaction (could not satisfy dependencies)
:: modemmanager: requires libmbim
Last edited by Mr Green (2013-06-03 09:57:17)
Mr Green
Offline
You should modify and rebuild the PKGBUILDs, and the extra bin directories will be symlinked to /usr/bin. The only files you should move by-hand are files existing in the to-be-symlinked directories which are unowned by any package (I.e., ones you manually put there).
All the best,
-HG
[Edit]: Wow, I totally failed to see the extra page of comments; sorry for the reply to a clearly already-answered question.
Last edited by HalosGhost (2013-06-03 10:54:28)
Offline
There is no way one can ban you from reading the ML, as the archives are public: https://mailman.archlinux.org/mailman/l … dev-public
Posting on that list is IIRC for devs and TUs only, so ... :-)
Edit: libmbim is in the repos: https://projects.archlinux.org/svntogit … es/libmbim
Maybe your package db is out of date?
Last edited by karol (2013-06-03 10:11:17)
Offline
No new install fully up to date, symlink to bash does not look right
lrwxrwxrwx 1 root root 4 May 31 20:10 sh -> bash
(not that it helps much)
[live@archbang log]$ tail pacman.log
[2013-06-03 10:52] [PACMAN] Running 'pacman -S bash'
[2013-06-03 10:52] [PACMAN] upgraded bash (4.2.045-1 -> 4.2.045-4)
[2013-06-03 10:52] [PACMAN] Running 'pacman -Su'
[2013-06-03 10:52] [PACMAN] starting full system upgrade
from logs
Last edited by Mr Green (2013-06-03 10:16:37)
Mr Green
Offline
Check your mirrorlist then.
What's the output of 'pacman -Syyu libmbim'?
Last edited by karol (2013-06-03 10:18:55)
Offline
That might be the problem, however I cannot get back into build ;( might reinstall and refresh miirrorlist first
Mr Green
Offline
[root@arch etc]# pacman -Ss mirrorlist
core/pacman-mirrorlist 20130601-1 [installed]
Arch Linux mirror list for use by pacman
Ok updated syslinux and rebooted
[mrgreen@arch /]$ ls -la bin
lrwxrwxrwx 1 root root 7 May 31 19:40 bin -> usr/bin
Did use german mirrors instead....
Mr Green
Offline
Just updated and rebooted my desktop, move went smoothly...
Mr Green
Offline
just wanted to know what repo names could be used in this:
Also check packages installed from non-official repos using:
$ paclist <repo> | awk ' { print $1 } ' | pacman -Ql - | grep ' /s\?bin/\| /usr/sbin/
I ask as I only use official repo's + aur, so I ran:
┌─(t0m5k1@b0x)-(1509/pts/0)-(03:29pm:03/06/13)-
└─>(%:~)
└─>> sudo paclist aur | awk ' { print $1 } ' | pacman -Ql - | grep ' /s\?bin/\| /usr/sbin/' | sprunge
error: repository "aur" was not found.
the list can be found here: http://sprunge.us/cgNF
but to me this looks like a list of pkg's from official repo's & not what I had installed via aur!!
I am sooooo confused lol
thnx for assistance
ROG Strix (GD30CI) - Intel Core i5-7400 CPU - 32Gb 2400Mhz - GTX1070 8GB - AwesomeWM (occasionally XFCE, i3)
If everything in life was easy, we would learn nothing!
Linux User: 401820 Steam-HearThis.at-Last FM-Reddit
Offline
The aur is not a pacman repo. That's what the first command about "non-official package" is for.
Last edited by Scimmia (2013-06-03 13:41:21)
Online
Also check packages installed from non-official repos
https://wiki.archlinux.org/index.php/Un … positories
How did you generate that list you pasted in sprunge?
Last edited by karol (2013-06-03 13:43:26)
Offline
The aur is not a pacman repo. That's what the first command about "non-official package" is for.
I did think that but I am confused lol
Also check packages installed from non-official repos
https://wiki.archlinux.org/index.php/Un … positories
How did you generate that list you pasted in sprunge?
thnx for the url, that is a good reference
for sprunge I use a zsh function I got from GTMANFRED :
function sprunge() {
if (($#)); then
if [[ -f $1 && -r $1 ]]; then
curl -F 'sprunge=<-' http://sprunge.us < "$1"
else
printf 'file %s does not exist or is not readable\n' "$1" >&2
return 1
fi
else
curl -F 'sprunge=<-' http://sprunge.us
fi
}
then you just use it as i did above (cmd pipe sprunge) :
┌─(t0m5k1@b0x)-(1509/pts/0)-(03:29pm:03/06/13)-
└─>(%:~)
└─>> sudo paclist aur | awk ' { print $1 } ' | pacman -Ql - | grep ' /s\?bin/\| /usr/sbin/' | sprunge
cheers again for the clarity
Last edited by t0m5k1 (2013-06-03 13:55:52)
ROG Strix (GD30CI) - Intel Core i5-7400 CPU - 32Gb 2400Mhz - GTX1070 8GB - AwesomeWM (occasionally XFCE, i3)
If everything in life was easy, we would learn nothing!
Linux User: 401820 Steam-HearThis.at-Last FM-Reddit
Offline
Please help....
First of all: I dont use testing or unofficial repos, just the official ones.
A few hours ago, I updated my system following the instructions on
https://www.archlinux.org/news/binaries … ervention/
Following Step 5, I did
# pacman -Syu --ignore filesystem,bash
# pacman -S bash
When I came to # pacman -Su, I still got the "exists in filesystem" error. I hadn't the time to fix it at the moment, so I shutdown my system.
Now I startet it again and just get the error
Error: Root device mounted successfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good Luck
[rootfs /]#
What can I do now to fix it?
Offline
That was so much cleaner (for me) than the lib merges. Awesome work devs!
All the best,
-HG
Offline
When I came to # pacman -Su, I still got the "exists in filesystem" error. I hadn't the time to fix it at the moment, so I shutdown my system.
Why did you start updating at all then??
Use a liveCD / live USB, chroot, fix the 'exist in the filesystem' errors and open a separate thread if you need further help.
Offline
UPDATE:
I personally fixed this by running '# rm -rf /bin; rm -rf /usr/sbin' then '# pacman -Su'. Seems to be working now but YMMV.
FYI this is also happening on NON-testing repos.
Packages (1): filesystem-2013.05-2
Total Installed Size: 0.01 MiB
Net Upgrade Size: -0.30 MiB
:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.
And my pacman.conf:
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[archlinuxfr]
SigLevel = Optional TrustAll
Server = http://repo.archlinux.fr/$arch
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
...and I just now realized that my system is hosed. The entire /bin directory has been wiped out.
Last edited by dwal42 (2013-06-03 14:42:48)
Offline
FYI this is also happening on NON-testing repos.
Because it hit the non-testing repos now - see Arch home page.
Offline
dwal42, what's the output of pacman -Qo /usr/sbin
It should just be the filesystem package. If it's any other package, fix them.
Your system isn't "hosed", everything from /bin has just been moved to /usr/bin.
Last edited by Scimmia (2013-06-03 14:41:48)
Online
dwal42, what's the output of pacman -Qo /usr/sbin
It should just be the filesystem package. If it's any other package, fix them.
Your system isn't "hosed", everything from /bin has just been moved to /usr/bin.
I figured it out, thanks for the info!
Offline