You are not logged in.

#51 2020-02-27 00:28:30

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Chroot fail during system recovery or pacstrap error?

Innermost: No package owns /usr

Offline

#52 2020-02-27 00:34:08

loqs
Member
Registered: 2014-03-06
Posts: 19,031

Re: [Solved] Chroot fail during system recovery or pacstrap error?

pacman --root /mnt -Qoq /usr

is returning no package owns /usr ?

Offline

#53 2020-02-27 00:35:40

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Chroot fail during system recovery or pacstrap error?

loqs wrote:
pacman --root /mnt -Qoq /usr

is returning no package owns /usr ?

Yes

Offline

#54 2020-02-27 00:39:27

loqs
Member
Registered: 2014-03-06
Posts: 19,031

Re: [Solved] Chroot fail during system recovery or pacstrap error?

pacman --root /mnt -Ql filesystem

Edit:

pacman --root /mnt -Q

Check what packages the pacman is listing as installed on the system.

Last edited by loqs (2020-02-27 00:44:43)

Offline

#55 2020-02-27 03:20:53

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Chroot fail during system recovery or pacstrap error?

Number of packages Total 3545
At http://ix.io/2cMD

And the Wiki seems to be followable....

Last edited by OrigBitmancer (2020-02-27 04:06:24)

Offline

#56 2020-02-27 12:11:19

loqs
Member
Registered: 2014-03-06
Posts: 19,031

Re: [Solved] Chroot fail during system recovery or pacstrap error?

Incase it is still needed

pacman --root /mnt --cachedir=/mnt/var/cache/pacman/pkg -S $(pacman --root /mnt -Qqn $(pacman --root /mnt -Qoq /mnt/usr))

Offline

#57 2020-02-27 12:40:10

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Chroot fail during system recovery or pacstrap error?

I can use

arch-chroot /mnt

without error now.

Offline

#58 2020-02-27 12:45:11

loqs
Member
Registered: 2014-03-06
Posts: 19,031

Re: [Solved] Chroot fail during system recovery or pacstrap error?

From inside the chroot to detect all packages with missing files

pacman -Qkk

Offline

#59 2020-02-27 19:24:34

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Chroot fail during system recovery or pacstrap error?

loqs wrote:

Incase it is still needed

pacman --root /mnt --cachedir=/mnt/var/cache/pacman/pkg -S $(pacman --root /mnt -Qqn $(pacman --root /mnt -Qoq /mnt/usr))

Ok, but

pacman -Qqn 

has no file argument.

pacman -Qoq 

is fine.

comm -23 <(sort firstfile) <(sort secondfile)

should yield list for yay(1)

Offline

#60 2020-02-27 19:40:54

loqs
Member
Registered: 2014-03-06
Posts: 19,031

Re: [Solved] Chroot fail during system recovery or pacstrap error?

On this system the following is producing a list of native packages using /usr so not sure why it is not working for you.

pacman --root /mnt -Qqn $(pacman --root /mnt -Qoq /mnt/usr)

What are firstfile and secondfile?

Offline

#61 2020-02-27 19:54:33

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Chroot fail during system recovery or pacstrap error?

loqs wrote:

On this system the following is producing a list of native packages using /usr so not sure why it is not working for you.

pacman --root /mnt -Qqn $(pacman --root /mnt -Qoq /mnt/usr)

What are firstfile and secondfile?

Firstfile == Qoq output
Secondfile == Qqn output

Offline

#62 2020-02-27 20:08:48

loqs
Member
Registered: 2014-03-06
Posts: 19,031

Re: [Solved] Chroot fail during system recovery or pacstrap error?

What is the output now from inside the chroot of

pacman -Qkk

Lets see which packages are still corrupted according to pacman.

Offline

#63 2020-02-27 20:36:57

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Chroot fail during system recovery or pacstrap error?

sysout and syserr do not buffer cleanly.

http://ix.io/2cQM has the log

Have to grip -v “ 0 alter” to get

http://ix.io/2cQN

Not from chroot. Wait.

I cannot get a file name from ix.io does that mean it is too big?

Last edited by OrigBitmancer (2020-02-27 20:59:07)

Offline

#64 2020-02-27 21:05:07

loqs
Member
Registered: 2014-03-06
Posts: 19,031

Re: [Solved] Chroot fail during system recovery or pacstrap error?

Possibly save the result locally. see how many lines it is after filtering with

grep -vF '0 altered files' rawoutput.log > filteredoutput.log
wc -l filteredoutput.log

Offline

#65 2020-02-27 21:35:03

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Chroot fail during system recovery or pacstrap error?

Got it.

Unique warning lines are in http://ix.io/2cR5
and lines without “warning” are in http://ix.io/2cR6

Thanks for staying with me on this

Offline

#66 2020-02-27 22:38:29

loqs
Member
Registered: 2014-03-06
Posts: 19,031

Re: [Solved] Chroot fail during system recovery or pacstrap error?

packages in the repositories

ghc-libs java-runtime-common packagekit thunderbird-i18n-en-us tomcat7 vlc

packages not in the repositories

btscanner cddb_get couchdb downgrader epson-inkjet-printer-escpr epson-inkjet-printer-escpr2 fricas fswebcam gamin gcc6 gcc6-libs gconf gconf-editor  gksu gnome-mime-data gnome-shell-pomodoro google-chrome gphotofs gtk-recordmydesktop gtklp jmtpfs jsawk-git libfes libgksu lout lxdm-themes ntpdate obex-data-server openobex pkgtools polymake powerpanel python-django17 python-pypdf2 python2-cachetools python2-cvxopt python2-cycler python2-flask-autoindex python2-flask-babel python2-flask-oldsessions python2-flask-openid python2-flask-silk python2-gflags python2-gmpy2 python2-google-api-python-client python2-google-auth python2-google-auth-httplib2 python2-igraph python2-ipywidgets python2-jsonschema python2-matplotlib python2-mpd python2-mpmath python2-networkx python2-oauth2client python2-pam python2-pycups python2-pydot python2-pydrive python2-pygit2 python2-pyglet python2-pynormaliz pthon2-pysqlite python2-reportlab python2-rpy2 python2-rsa python2-sane python2-scipy python2-speaklater python2-sympy python2-tagpy raul sage-notebook shedskin sonata spacefm tangerine-icon-theme  tkpacman  truepolyglot virtuoso wicd wicd-gtk xf86-input-keyboard xf86-input-mouse

I am surprised any of the repository packages listed being damaged would stop the system booting what is the error message on boot now.

Offline

#67 2020-02-27 22:49:28

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Chroot fail during system recovery or pacstrap error?

It is now BOOTING. HOORAY!!!

I can take it from here. Thanks again for all your help. I could not have done it without you.

Offline

#68 2020-02-28 00:29:53

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] Chroot fail during system recovery or pacstrap error?

Where should I put the wpa_supplicant script?

Never mind. I am going to launch the services.

Last edited by OrigBitmancer (2020-02-28 00:39:53)

Offline

Board footer

Powered by FluxBB