You are not logged in.

#1 2015-08-06 22:07:38

MightyPork
Member
From: Prague, Czech Republic
Registered: 2014-06-16
Posts: 93
Website

pacstrap fails: umount: /mnt/dev: target is busy

I'm having some strange issues with pacstrap.

I'm installing it from Arch running off a stick (full install on the stick, not the install media).

I've mounted partitions and installed some stuff with pacstrap, but now it refuses to cooperate.

  /home/ondra # pacstrap /mnt gstreamer0.10-plugins gst-plugins-bad gst-plugins-good gst-plugins-ugly 
==> Creating install root at /mnt
==> Installing packages to /mnt
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
--snip--
looking for conflicting packages...

Packages (8) gst-plugins-bad-1.4.5-4  gst-plugins-good-1.4.5-3  gst-plugins-ugly-1.4.5-3  gstreamer0.10-bad-plugins-0.10.23-10
             gstreamer0.10-base-plugins-0.10.36-3  gstreamer0.10-ffmpeg-0.10.13-2  gstreamer0.10-good-plugins-0.10.31-8
             gstreamer0.10-ugly-plugins-0.10.19-15

Total Installed Size:  30.77 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
(8/8) checking keys in keyring                                                                 [########################################################] 100%
(8/8) checking package integrity                                                               [########################################################] 100%
(8/8) loading package files                                                                    [########################################################] 100%
(8/8) checking for file conflicts                                                              [########################################################] 100%
(8/8) checking available disk space                                                            [########################################################] 100%
(1/8) reinstalling gstreamer0.10-bad-plugins                                                   [########################################################] 100%
(2/8) reinstalling gstreamer0.10-base-plugins                                                  [########################################################] 100%
(3/8) reinstalling gstreamer0.10-ffmpeg                                                        [########################################################] 100%
(4/8) reinstalling gstreamer0.10-good-plugins                                                  [########################################################] 100%
(5/8) reinstalling gstreamer0.10-ugly-plugins                                                  [########################################################] 100%
(6/8) reinstalling gst-plugins-bad                                                             [########################################################] 100%
(7/8) reinstalling gst-plugins-good                                                            [########################################################] 100%
(8/8) reinstalling gst-plugins-ugly                                                            [########################################################] 100%

umount: /mnt/dev: target is busy
        (In some cases useful info about processes that
         use the device is found by lsof(8) or fuser(1).)

  /home/ondra # pacstrap /mnt gstreamer0.10-plugins gst-plugins-bad gst-plugins-good gst-plugins-ugly 
==> Creating install root at /mnt
mount: udev is already mounted or /mnt/dev busy
       udev is already mounted on /mnt/dev
==> ERROR: failed to setup chroot /mnt

I must've broken something, no clue what. Should I erase the disks and start from zero again?


If it ain't broke, pacman -Syyu and it will be

Offline

#2 2015-08-06 22:11:37

MightyPork
Member
From: Prague, Czech Republic
Registered: 2014-06-16
Posts: 93
Website

Re: pacstrap fails: umount: /mnt/dev: target is busy

Update - there's some dbus vermin going on:

  /home/ondra # lsof | grep mnt
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
      Output information may be incomplete.
dbus-laun 1661         root  cwd       DIR               8,17      4096          2 /mnt
dbus-laun 1661         root  rtd       DIR               8,17      4096          2 /mnt
dbus-laun 1661         root  txt       REG               8,17     27248    1321132 /mnt/usr/bin/dbus-launch
dbus-laun 1661         root  mem       REG               8,17     51712    1313884 /mnt/usr/lib/libnss_files-2.21.so
dbus-laun 1661         root  mem       REG               8,17     22688    1331876 /mnt/usr/lib/libXdmcp.so.6.0.0
dbus-laun 1661         root  mem       REG               8,17     14512    1331881 /mnt/usr/lib/libXau.so.6.0.0
dbus-laun 1661         root  mem       REG               8,17     14576    1313925 /mnt/usr/lib/libdl-2.21.so
dbus-laun 1661         root  mem       REG               8,17    137968    1334203 /mnt/usr/lib/libxcb.so.1.1.0
dbus-laun 1661         root  mem       REG               8,17   1979984    1313895 /mnt/usr/lib/libc-2.21.so
dbus-laun 1661         root  mem       REG               8,17   1314936    1334290 /mnt/usr/lib/libX11.so.6.3.0
dbus-laun 1661         root  mem       REG               8,17    164232    1313939 /mnt/usr/lib/ld-2.21.so
dbus-laun 1661         root    0u      CHR                1,3       0t0       1028 /mnt/dev/null
dbus-laun 1661         root    1u      CHR                1,3       0t0       1028 /mnt/dev/null
dbus-laun 1661         root    2u      CHR                1,3       0t0       1028 /mnt/dev/null
dbus-daem 1662         root  cwd       DIR               8,17      4096          2 /mnt
dbus-daem 1662         root  rtd       DIR               8,17      4096          2 /mnt
dbus-daem 1662         root  txt       REG               8,17    421688    1321131 /mnt/usr/bin/dbus-daemon
dbus-daem 1662         root  mem       REG               8,17     51712    1313884 /mnt/usr/lib/libnss_files-2.21.so
dbus-daem 1662         root  mem       REG               8,17     18736    1316996 /mnt/usr/lib/libattr.so.1.1.0
dbus-daem 1662         root  mem       REG               8,17     17320    1317142 /mnt/usr/lib/libcap.so.2.24
dbus-daem 1662         root  mem       REG               8,17     76320    1322085 /mnt/usr/lib/libgpg-error.so.0.15.0
dbus-daem 1662         root  mem       REG               8,17    919976    1322116 /mnt/usr/lib/libgcrypt.so.20.0.3
dbus-daem 1662         root  mem       REG               8,17     71968    1322132 /mnt/usr/lib/liblz4.so.1.7.1
dbus-daem 1662         root  mem       REG               8,17    154288    1322002 /mnt/usr/lib/liblzma.so.5.2.1
dbus-daem 1662         root  mem       REG               8,17     84768    1313880 /mnt/usr/lib/libresolv-2.21.so
dbus-daem 1662         root  mem       REG               8,17   1063264    1313943 /mnt/usr/lib/libm-2.21.so
dbus-daem 1662         root  mem       REG               8,17     31672    1313916 /mnt/usr/lib/librt-2.21.so
dbus-daem 1662         root  mem       REG               8,17     14576    1313925 /mnt/usr/lib/libdl-2.21.so
dbus-daem 1662         root  mem       REG               8,17   1979984    1313895 /mnt/usr/lib/libc-2.21.so
dbus-daem 1662         root  mem       REG               8,17    142832    1313915 /mnt/usr/lib/libpthread-2.21.so
dbus-daem 1662         root  mem       REG               8,17    170144    1321104 /mnt/usr/lib/libexpat.so.1.6.0
dbus-daem 1662         root  mem       REG               8,17    164232    1313939 /mnt/usr/lib/ld-2.21.so
dbus-daem 1662         root  mem       REG               8,17    540480    1322150 /mnt/usr/lib/libsystemd.so.0.10.1
dbus-daem 1662         root    0u      CHR                1,3       0t0       1028 /mnt/dev/null
dbus-daem 1662         root    1u      CHR                1,3       0t0       1028 /mnt/dev/null
dbus-daem 1662         root    2u      CHR                1,3       0t0       1028 /mnt/dev/null

But why and how to stop it? They seem to respawn right after I kill them.

Last edited by MightyPork (2015-08-06 22:13:46)


If it ain't broke, pacman -Syyu and it will be

Offline

#3 2015-08-07 18:58:36

KairiTech
Member
From: Toronto, Canada
Registered: 2011-06-04
Posts: 275

Re: pacstrap fails: umount: /mnt/dev: target is busy

Are you running your install in a session authorized through polkit?

Offline

#4 2015-08-07 19:04:28

MightyPork
Member
From: Prague, Czech Republic
Registered: 2014-06-16
Posts: 93
Website

Re: pacstrap fails: umount: /mnt/dev: target is busy

KairiTech wrote:

Are you running your install in a session authorized through polkit?

It was in "sudo su" shell, not sure if that's polkit. Only those packages caused it, so it must be something specific to them. Not a big deal, I chrooted inside and did it with regular pacman. Just weird...


If it ain't broke, pacman -Syyu and it will be

Offline

#5 2015-08-07 19:23:01

KairiTech
Member
From: Toronto, Canada
Registered: 2011-06-04
Posts: 275

Re: pacstrap fails: umount: /mnt/dev: target is busy

MightyPork wrote:
KairiTech wrote:

Are you running your install in a session authorized through polkit?

... "sudo su" shell, ...

So you are in a terminal started from the X desktop then?

Offline

#6 2015-08-07 20:15:23

MightyPork
Member
From: Prague, Czech Republic
Registered: 2014-06-16
Posts: 93
Website

Re: pacstrap fails: umount: /mnt/dev: target is busy

KairiTech wrote:

So you are in a terminal started from the X desktop then?

Yea I was in Xfce, booted from a usb drive, trying to install Arch on hard disk.
And succedded, so this doesn't need to be solved... I'm now just curious what was wrong

It worked for all other packages, just not for those gstreamer plugins - after that, I had to reboot

Last edited by MightyPork (2015-08-07 20:15:49)


If it ain't broke, pacman -Syyu and it will be

Offline

#7 2015-08-07 20:33:46

KairiTech
Member
From: Toronto, Canada
Registered: 2011-06-04
Posts: 275

Re: pacstrap fails: umount: /mnt/dev: target is busy

MightyPork wrote:

... I was in Xfce, ...

Log in as root from a virtual terminal [Alt]-[F2...n] tty instead.

Had a similar issue with archiso a while back and that's the only way I ever got it to work.

Offline

Board footer

Powered by FluxBB