You are not logged in.
Pages: 1
error: could not parse package description file 'haskell-hls-cabal-plugin-0.1.0.0-112/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 2048 bytes, only 0 available))
error: could not parse package description file 'haskell-hls-cabal-plugin-0.1.0.0-112/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 2048 bytes, only 0 available))
error: could not parse package description file 'haskell-hls-cabal-plugin-0.1.0.0-112/desc' from db 'extra'
error: could not read db 'extra' (Truncated input file (needed 2048 bytes, only 0 available))
this keep going on infinitely when I do a sudo pacman -Syyu
I tried cleaning caches and updating the mirrors and archlinux-keyring. None of them worked, I dont have any haskell or related packages installed
Last edited by Xx_RiK_xX (2024-01-05 09:09:42)
Offline
"when I do a sudo pacman -Syyu" what most likely got you into that situation itfp
Read the pacman manpage about what the second "y" does, then stop using it unless you really. RAEALLY. mean to.
The problem isn't anything haskell, the problem is that you shredded the package database for at least the extra repo.
And post the entire pacman output.
pacman -Syuv --debug 2>&1 | tee /tmp/pacman.stuff
cat /tmp/pacman.stuff | curl -F 'file=@-' 0x0.st
Offline
The first command went on forever and never terminated.
this is the output of the second command http://0x0.st/H6VM.txt
Since nothing was working, so I tried once with yy I generally dont.
Thanks!
Offline
debug: adding new server URL to database 'core': http://in-mirror.garudalinux.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'extra': http://in-mirror.garudalinux.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'multilib': http://in-mirror.garudalinux.org/archlinux/multilib/os/x86_64
debug: chaotic-aur.db.sig: url is https://cf-builds.garudalinux.org/repos/chaotic-aur/x86_64/chaotic-aur.db.sig
Is this garuda linux?
debug: extra.db: url is https://in.mirrors.cicku.me/archlinux/extra/os/x86_64/extra.db
debug: extra.db: maxsize 134217728
debug: extra.db: using time condition 1704338665
debug: extra.db: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
debug: extra.db: curl returned result 0 from transfer
debug: extra.db: response code 304
debug: extra.db.sig: url is https://in.mirrors.cicku.me/archlinux/extra/os/x86_64/extra.db.sig
debug: extra.db.sig: maxsize 16384
debug: extra.db.sig: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb)
debug: extra.db: file met time condition
du -h /var/lib/pacman/sync/extra*
file /var/lib/pacman/sync/extra*
Offline
debug: adding new server URL to database 'core': http://in-mirror.garudalinux.org/archlinux/core/os/x86_64 debug: adding new server URL to database 'extra': http://in-mirror.garudalinux.org/archlinux/extra/os/x86_64 debug: adding new server URL to database 'multilib': http://in-mirror.garudalinux.org/archlinux/multilib/os/x86_64 debug: chaotic-aur.db.sig: url is https://cf-builds.garudalinux.org/repos/chaotic-aur/x86_64/chaotic-aur.db.sig
Is this garuda linux?
Not necessarily. This is an official Arch Linux mirror: https://archlinux.org/mirrors/garudalinux.org/
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
We're exploitng garuda resources
Offline
No its not Garuda, its arch
du -h /var/lib/pacman/sync/extra*
8.3M /var/lib/pacman/sync/extra.db
rik ~ file /var/lib/pacman/sync/extra*
/var/lib/pacman/sync/extra.db: gzip compressed data, from Unix, original size modulo 2^32 33126400
Last edited by Xx_RiK_xX (2024-01-04 11:51:57)
Offline
extra.db looks ok
zgrep -a haskell-hls-cabal-plugin /var/lib/pacman/sync/extra.db
In doubt, remove the file to hve it re-downloaded if some bit flipped.
Offline
zgrep -a haskell-hls-cabal-plugin /var/lib/pacman/sync/extra.db
haskell-hls-cabal-plugin-0.1.0.0-112/000755 002106 001731 00000000000 14543313772 017557 5ustar00alerqueusers000000 000000 haskell-hls-cabal-plugin-0.1.0.0-112/desc000644 002106 001731 00000003037 14543313772 020423 0ustar00alerqueusers000000 000000 %FILENAME%
haskell-hls-cabal-plugin-0.1.0.0-112-x86_64.pkg.tar.zst
haskell-hls-cabal-plugin
haskell-hls-cabal-plugin
gzip: /var/lib/pacman/sync/extra.db: invalid compressed data--format violated
and when I run pacman -Su, or: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
Offline
Did you try to simple replace the file?
Edit: and in case that doesn't help, change the mirror - it might be corrupted there.
Last edited by seth (2024-01-04 17:51:46)
Offline
replace with what?
changed the mirrors again though
Offline
Fresh copy from the mirror - remove the file and let pacman re-download it.
Last edited by seth (2024-01-04 18:29:31)
Offline
Use pacman -Syyu to force it to download a new copy (one of the only times using yy makes sense).
Offline
deleted it and ran pacman -Syy
and -Su and same error
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
error: could not read db 'extra' (gzip decompression failed)
Offline
cat /var/lib/pacman/sync/extra.db | curl -F 'file=@-' 0x0.st
sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'
Offline
http://0x0.st/H6wH.bin
and the second command keeps going like this
rses: /usr/share/man/man3/wgetnstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wgetparent.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wgetscrreg.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wgetstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/whline.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/whline_set.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/win_wch.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/win_wchnstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/win_wchstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winch.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winchnstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winchstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winnstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winnwstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wins_nwstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wins_wch.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wins_wstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winsch.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winsdelln.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winsertln.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winsnstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winsstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/winwstr.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wmouse_trafo.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wmove.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wnoutrefresh.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wprintw.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wredrawln.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wrefresh.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wresize.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wscanw.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wscrl.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wsetscrreg.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wstandend.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wstandout.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wsyncdown.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wsyncup.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wtimeout.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wtouchln.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wunctrl.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wunctrl_sp.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wvline.3x.gz (No such file or directory)
warning: ncurses: /usr/share/man/man3/wvline_set.3x.gz (No such file or directory)
warning: neon: /usr/share/man/man3/ne_add_request_header.3.gz (No such file or directory)
warning: neon: /usr/share/man/man3/ne_addr_destroy.3.gz (No such file or directory)
warning: neon: /usr/share/man/man3/ne_addr_error.3.gz (No such file or directory)
warning: neon: /usr/share/man/man3/ne_addr_first.3.gz (No such file or directory
Offline
its fixed today all of a sudden. Thanks all of you. I updated without issues
Offline
how to mark it solved?
Offline
Please use [code][/code] tags. Edit your post in this regard.
Mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
The file you uploladed is indeed corrupt => https://archlinux.org/packages/extra/any/reflector/
You've manpages in your NoExtract list??
You could have grepped that away w/ "… | grep -v ', 0 altered files' | grep -v 'usr/share/man'"
Offline
Pages: 1