libera/#devuan/ Saturday, 2020-08-08

mtnmanfirefox is barfing on me and complains of failure to open curl02:13
mtnman                lib from binary and mentions libcurl.so.  both libcurl3 and02:13
mtnman                libcurl3-gnutls are both installed , but libcurl.so does not02:13
mtnman                seem to be present on the system.  is there a different package02:13
mtnman                that will provide libcurl.so ??02:13
mtnmanoops sorry for that funky paste02:13
tuxd3vmtnman, 'libcurl4' package provides the shared library02:15
tuxd3vwhat is the release you are using?02:16
tuxd3vascii02:16
tuxd3v?02:16
mtnmanascii02:19
tuxd3vI am in beowulf,02:21
tuxd3vwhat you are using should be the correct packages for ascii02:21
mtnmanwell firefox barfs but i did notice that libcurl4 is available in ascii02:21
tuxd3vdo a upgrade02:22
tuxd3vldconfig creates his cache in file '/etc/ld.so.cache'02:22
mtnmani wanted to do a fresh install, but have not had luck getting the installer to run on arm02:22
tuxd3vok so you are in arm02:23
tuxd3varm or arm64?02:23
mtnmanarm64 actually02:23
tuxd3vok02:23
tuxd3vwhat hapens when you run a 'ldconfig -v|grep libcurl --color' as root02:26
tuxd3vpaste the result of that in:02:26
tuxd3vhttps://paste.debian.net/02:27
mtnmanproblematic to post there since i don't have browser here02:27
tuxd3vyou right02:27
tuxd3v:)02:28
mtnmanhang on i think i have a way to post there from another machine02:29
tuxd3vdor you have this file '/usr/lib/aarch64-linux-gnu/libcurl.so.4'02:29
tuxd3vls -l /usr/lib/aarch64-linux-gnu/libcurl.so.402:29
mtnmanis that supposed to be aarch64 or arch64?02:30
tuxd3vaarch6402:30
tuxd3vor arm6402:30
tuxd3vthe file name is correct :)02:31
mtnmanno such file or directory02:32
tuxd3vand02:33
tuxd3vls -l '/usr/lib/aarch64-linux-gnu/libcurl.so.3'02:33
tuxd3vsprry I forgot you have libcurl3 installed :S02:33
mtnmanalso no such file or directory02:34
tuxd3vthat is the problem02:34
mtnmanyes.02:34
tuxd3vdoes you sure you have libcurl3 installed?02:34
tuxd3vupgrade: 'apt-get upgrade'02:35
mtnmanyes it is installed i even just did apt-get install --reinstall libcurl302:35
tuxd3vfind /usr -name licurl.so\*02:36
tuxd3vdo this, and check what you really have in /usr for libcurl02:36
mtnmani searched for libcurl.so from / earlier. it does not exist on this box.02:37
mtnmanthat is what i have been saying....02:37
tuxd3vls -l /usr/lib/aarch64-linux-gnu/libcurl-gnutls*02:39
tuxd3vdo this02:39
mtnmanno such file or directory02:40
tuxd3vdoes you sure your filesystem have suficient space?02:41
tuxd3vfree I mean :)02:41
mtnmanit is pretty full02:41
mtnmanappears i have only 35 M free02:42
tuxd3vmaybe you can delete something, or even beter compress a folder that you know that ocupy a lot of space..02:42
tuxd3vbeter -> better02:42
mtnmani should resize the partition. there's plenty of space on the sdcard02:42
mtnmani cannot remember where i saw instructions to resize a partition02:43
tuxd3v with parted02:43
tuxd3vbut you need to do it with the filesystem unmounted..02:44
tuxd3vI mean in another computer :S02:44
tuxd3vimagine that your drive is /dev/sdb02:44
mtnman/dev/mmcblk002:45
tuxd3vyes that is when the filesystem is mounted  :)02:45
tuxd3vin the arm machine02:45
tuxd3vbut I believe you can't resize with it mounted that's the problem..02:45
mtnmanoic02:45
tuxd3vit his a bit dangerous, usually never bad hapen but we never know..02:47
mtnmanthere is nothing of consequence on this system02:47
tuxd3vso you only have one partition?02:48
tuxd3vlsblk02:48
tuxd3vto list the partitions you have02:48
mtnmanthere is a boot partition and at least a system partition02:49
tuxd3vwhat is the one you want to expand02:49
tuxd3v7/dev/mmcblk0p302:50
mtnmansystem partition is currently 1.5G and there is 117.5G free after that02:50
mtnman128M FAT32 boot partititon02:51
tuxd3vwhat is the partition number, like:02:51
tuxd3v/dev/mmcblk0p2?02:52
mtnman/dev/mmcblk0p2 yes02:52
tuxd3vok so you have partition 0,1,202:52
tuxd3vyou need to remove the partition 2 and create it with another size( bigger )02:53
tuxd3vjust a second..02:53
mtnmani have mmcblk0p1 128M FAT32, mmcblk0p2 1.5g Linux02:53
mtnmancan i do that with cfdisk?02:53
tuxd3vmaybe I just do it with parted02:54
tuxd3vparted /dev/device02:54
tuxd3vprint02:54
tuxd3vsee the exact start and finish of the partition02:55
tuxd3vwhen you do 'print' command inside parted02:56
tuxd3vit prints the partitions with information02:56
mtnmanstart: 135MB   finish: 1747MB02:56
tuxd3vyou are talking about partition 2 right?02:56
mtnman/dev/mmcblk0p202:56
tuxd3vcan you paste the line from parted?02:57
tuxd3vjust copy and past the correspondent line02:57
mtnman 2      135MB   1747MB  1612MB  primary  ext402:57
tuxd3vyou sure its that partition?02:58
mtnman100%02:58
tuxd3vif so02:58
tuxd3vyou just need to do:02:58
tuxd3vrm 202:58
tuxd3vthen02:59
tuxd3vmkpart primary ext4 135MB 5GB02:59
mtnmanbut not on the running system,?03:00
tuxd3vin this case you create a partition that starts exactly in the same place03:00
tuxd3vand in this case it ends at 5GB03:00
tuxd3vthis for the partition table03:00
tuxd3vmaybe you can do this on the same system03:00
tuxd3vthe resize of the fylesystem is the one that needs to be on diferent place03:01
tuxd3vI just do all in another computer03:01
tuxd3vor unmounted03:01
tuxd3vbut for the partition I believe that you can do it with the partition mounted03:01
mtnmanwell okay... i did it with cfdisk (removed partition and createdn new, larger on in same starting spot)03:04
tuxd3vok03:04
mtnmandf -h shows the old partition size.  maybe i need a reboot03:04
tuxd3vSo now you have a larger partition03:04
tuxd3vBut your fylesystem is still yet on the older size03:04
tuxd3vyou need to do a:03:05
tuxd3vresize2fs /dev/device_partition03:05
tuxd3vbut this time with the fylesystem unmounted03:05
tuxd3vand this is the problem03:05
tuxd3vyou need to do it on another computer03:06
tuxd3vit needs to be unmounted :S03:06
tuxd3vbut now you just need to resize it :)03:06
mtnmanok powering off the arm system03:06
tuxd3vok03:07
mtnman_resize did not work.  the partition is now 215 M03:14
tuxd3vhumm03:14
tuxd3vdoes you sure you are resizing the correct one?03:14
mtnman_yes the correct partition is mmcblk0p203:15
tuxd3vyou have it unmounted?03:15
mtnman_yes unmounted03:16
mtnman_it is currently running a system on mmcblk103:16
tuxd3vso the mmc0 is free indeed03:17
mtnman_maybe i should run that parted command?03:17
tuxd3vyou need to do:03:17
tuxd3ve2fsck -f /dev/mmcblk0p203:17
tuxd3vthen03:17
tuxd3vresize2fs /dev/mmcblk0p203:17
mtnman_says rezize inot not valid. Recreate?03:19
tuxd3vno03:19
tuxd3vdon't recreate  because that will erase your fylesystem structure03:19
mtnman_inode 7 ha illegal blocks. clear?03:19
tuxd3vyes03:20
mtnman_assume no03:20
mtnman_oh!03:20
tuxd3vno problem :)03:20
mtnman_too many illegal blocks in inode 7.  clear inode?03:20
tuxd3vyes03:21
mtnman_free blocks count wrong for group #0... fix?03:22
tuxd3vyes03:22
mtnman_more free blocks count wrong... assume fix?03:22
tuxd3vyes03:22
mtnman_ok FILE SYSTEM WAS MODIFIED03:23
tuxd3vsee now its size03:23
tuxd3vdf -hP03:23
mtnman_215 M03:23
tuxd3vno way03:23
tuxd3vyou created a partition with what size03:23
mtnman_we need to run resizw2fs now?03:23
mtnman_partition is 10G03:24
tuxd3vit needs to give you a filesystem of about some 9, and some more bucks GB03:24
tuxd3vif you do:03:25
tuxd3vparted /dev/mmcblk003:25
tuxd3vthen03:25
tuxd3vprint03:25
tuxd3vwha is the output?03:25
mtnman_this backup system doesn't seem to have parted03:26
tuxd3vho.. you don't have parted :S03:26
mtnman_gonna install it...03:26
tuxd3vyeah that would be great03:26
tuxd3v:)03:26
mtnman_running apt update...03:27
mtnman_parted > print shows size of partition is 10.7GB03:34
mtnman_quit03:34
mtnman_oops03:34
tuxd3vcan you print the line, to see if partition starts at disirable place03:35
tuxd3vdisirable-> desirable03:35
mtnman_cannot cut/paste between machines... but the start is 135MB and end is 10.9GB03:36
tuxd3vit is ok03:36
mtnman_i am gonna mount the partition and check it with ls03:36
mtnman_i mean with df03:37
tuxd3vdo a resize2fs /dev/mmcblk0p203:37
mtnman_it says filesystem is already 2621440 (4k) blocks long. Nothing to do!03:38
tuxd3vit was already resized03:38
tuxd3vbut you say it has ~200MB of size :S03:38
mtnman_i think i was looking at mmcblk1p2.  after mounting /dev/mmcblk0p2 on /mnt and checking, it is 9.9 GB03:40
mtnman_i guess reboot from the sdcard now...03:40
tuxd3vso its 9.9 GB is good :)03:40
tuxd3vyes now get back to your initial problem :)03:41
mtnman_i am gonna reboot the arm board now03:41
mtnman_okay back in devuan system...03:42
mtnman_df shows partition is 9.9G. okay...03:43
tuxd3vyou can now --reinstall libcurl :)03:43
mtnman_reinstalled libcurl3 but firefox still complains about libcurl.so03:45
tuxd3vfind /usr -name licurl.so\*03:45
mtnman_libcurl.so or licurl.so?03:46
tuxd3vit should be libcurl03:46
tuxd3vyou need to reinstall libcurl3-gnutls and libcurl303:47
mtnman_apt install libcurl3-gnutls libcurl303:47
mtnman_oops wrong keyboard03:47
tuxd3vapt install --reinstall libcurl3-gnutls libcurl303:48
tuxd3vthen03:48
tuxd3vldconfig03:48
mtnman_ok did all that and ldconfig firefox-esr barfed again03:49
tuxd3vdo you installed something when your system was already without space?03:50
tuxd3vother than libcurl?03:50
mtnman_i don't remember03:50
tuxd3vdo you have libcurl4?03:51
tuxd3vavaillable in ascii?03:51
tuxd3vif so try it03:51
mtnman_no but it appears to be available on ascii03:52
tuxd3vfind /usr -name libcurl.so\*03:53
tuxd3vsorry03:53
mtnman_ascii shows four libcurl4 associated packages but not libcurl403:53
tuxd3valso03:54
tuxd3vfind /usr -name libcurl-gnutls.so\*03:54
mtnman_find shows libculr.so.3 .4 and .4.4.003:54
tuxd3vok03:55
tuxd3vnavigate to the location were it is03:55
mtnman_shows same for libcurl-gnutls03:55
tuxd3vmaybe '/usr/lib/aarch64-linux-gnu/'03:56
tuxd3v?03:56
mtnman_ok in the dir /usr/lib/arm-linux/arm-linuxgnubihf03:56
mtnman_ls03:56
mtnman_oops03:56
tuxd3vmaybe '/usr/lib/aarch64-linux-gnu/' ?03:57
tuxd3vyou are in a arm64 bits os right? :)03:58
mtnman_ok in the dir /usr/lib/arm-linux-gnueabihf03:58
mtnman_libcurl-gnutls.so.* are here03:59
mtnman_also libcurl-gnutls.so.*03:59
tuxd3vand the lubcurl.so* should also be there right?03:59
tuxd3vlibcurl03:59
mtnman_there is no libcurl.so! but there is libcurl.so.3 and .4 and .4.4.004:00
tuxd3vright04:00
tuxd3v'ln -s  libcurl.so.3  libcurl.so'04:01
tuxd3vcreate a simbolic lynk for them :)04:01
tuxd3valso04:01
tuxd3vln -s libcurl-gnutls.so.3 libcurl-gnutls.so04:01
mtnman_okay but libcurl.so.3 point to libcurl.so.4 which points to libcurl.so.4.4.004:02
tuxd3vno problem :)04:02
mtnman_should i just link to libcurl.so.4.4.0?04:02
tuxd3vits just like that :)04:02
tuxd3vyes you can do that too04:02
tuxd3vbut remember you are linking libcurl404:03
tuxd3vnot libcurl304:03
mtnman_i linked to libcurl3.04:04
mtnman_ran firefox-esr.  same crash04:04
tuxd3vdo a ldconfig now04:04
tuxd3vto update dynamic linker cache04:04
mtnman_okay ran ldconfig04:05
mtnman_then ran firefox-esr.  same behavior.04:05
tuxd3vthere are one thing in all of this that I find strange.. you said you were in a arm64 bits OS04:05
tuxd3vbut you are in armhf04:06
mtnman_yes04:06
tuxd3vnot arm6404:06
tuxd3v:(04:06
mtnman_oh... i did not realize the difference04:06
mtnman_yes you are correct its armhf04:06
tuxd3vok04:06
tuxd3v:)04:07
tuxd3vfirefox still continue to crash?04:07
mtnman_still crashing04:07
tuxd3vwith the same error, not finding libcurl.so?04:07
mtnman_same message: Failed to open curl lib from binary, use libcurl.so instead04:08
tuxd3vI would suggest that you reinstall firefox04:10
tuxd3vI mean with '--reinstall' option to apt command04:10
mtnman_i just did. when i ran firefox-esr after that it still crashed but shows different error mesgs.04:11
mtnman_no actually same messages04:11
tuxd3vif you do:04:12
tuxd3vldconfig -v|grep libcurl --color04:12
tuxd3vit doesn't printout the libcurl and libcurl-gnutls shared libraries?04:12
mtnman_shows libcurl.so.4 -> libcurl.so.4.4.0 and libcurl-gnutls.so.4 -> libcurl-gnutls.so.4.4.004:13
tuxd3vwait but you created symbolic links04:14
tuxd3v libcurl.so -> libcurl.so.4.4.004:14
mtnman_i created one and it doesn't show up in output from ldconfig04:14
tuxd3vand04:14
tuxd3v libcurl-gnutls.so -> libcurl-gnutls.so.4.4.004:15
mtnman_i actually linked libcurl.so -> libcurl.so.304:15
tuxd3vtyhat is the correct way04:15
tuxd3vyou need to link both to same version04:16
tuxd3vif you go with version 304:16
tuxd3vthen its 3 for both04:16
mtnman_ok i did not make link for libcurl-gnutls04:16
tuxd3vif you go with 4 then its version 4 of shared libraries for both :)04:16
tuxd3vok go to '/usr/lib/arm-linux/arm-linuxgnubihf'04:17
tuxd3vand04:18
tuxd3vln -s  libcurl-gnutls.so.4  libcurl-gnutls.so04:18
tuxd3vthen ldconfig04:18
tuxd3vthen try to open firefox04:18
tuxd3v:)04:18
mtnman_already did that but linked to .so.3 for both04:19
tuxd3vok04:19
tuxd3vdo a ldconfig04:20
tuxd3vto update linker cache04:20
mtnman_ok ran ldconfig04:20
tuxd3vtry to launch firefox :)04:21
mtnman_still crashy mccrash.04:21
tuxd3vfor sure you installed something and you got out of space on disk :S04:22
tuxd3vdo one more thing..04:22
mtnman_should i apt-get install --reinstall all packages?04:22
tuxd3vyeah that would be the best option04:23
tuxd3vright now we don't know what package got afected..04:23
mtnman_d04:23
mtnman_oops.04:24
mtnman_is there an easy way to reinstall all packages?04:24
tuxd3vpt-cache depends firefox-esr04:25
tuxd3vshow the dependencies04:25
tuxd3vbut they are a lot and for sure some were already installed before..04:26
tuxd3vapt-cache depends firefox-esr04:26
tuxd3vcheck only for the '  Depends: ' options... they are a lot :S04:27
mtnman_is there an easy way to do a reinstall of the depends packages?04:27
tuxd3vI believe you need to copy and past package name after package name :S04:28
tuxd3vyeah..04:28
mtnman_maybe i will apt purge it all and then reinstall04:29
tuxd3vthat is an easier way04:29
* mtnman_ usually prefers the easier way04:29
tuxd3vapt-get remove --purge firefox-esr04:30
tuxd3v:)04:30
tuxd3vindeed04:30
mtnman_yes and then i did apt autoremove04:30
tuxd3vyes04:30
tuxd3vyou have already done it?04:31
tuxd3vblazing fast your sdcard :)04:31
mtnman_i have not done all of the packages yet...04:31
tuxd3v:)04:32
tuxd3vwhat is your arm board name?04:36
mtnman_beaglebone black04:36
tuxd3vnice :)04:37
mtnman_its been pretty good for me04:38
tuxd3vit has a lot of gpio options04:39
mtnman_yes04:39
mtnman_ok i don't want to purge libc6 which is a dependency...04:40
tuxd3vright04:41
mtnman_i will reinstall that one separately04:41
mtnman_ok after purging some of those packages things the system is weird.04:44
mtnman_i think i will need to reinstall from scratch04:44
mtnman_thanks for spending your time with me but it seems we have failed.  my system is now unstabe and i will reinstall from scratch.04:45
mtnman_*unstable04:45
tuxd3vcan you install firefox back?04:48
mtnman_X is all messed up and i lost my xterms04:50
mtnman_i guess i could go to console...04:50
tuxd3vctrl+alt+f504:50
tuxd3vtry to install firefox again if you can04:51
mtnman_ok now it boots to console, no X05:02
tuxd3vyeah it should have purged X packages :S05:03
tuxd3vwhat was the environment you had installed?05:03
mtnman_xfce05:03
tuxd3vcan you reinstall it?05:03
tuxd3vit will pull the needed packages for X05:04
tuxd3vjust an idea05:04
mtnman_installing xfce405:05
mtnman_after installing xfce4 it still boots to console05:09
tuxd3vif you press ctrl+alt+f7 it doesn't go to graphic mode?05:10
tuxd3vif you do 'startx'05:11
mtnman_no X on tty7. also startx fails.05:11
tuxd3vit doesn't start?05:11
mtnman_no05:11
mtnman_gbm failed to open any driver05:11
tuxd3vif you type 'which startxfce4' what is the result05:13
mtnman_/usr/bin/startxfce405:15
tuxd3vif you run:05:15
tuxd3v/usr/bin/startxfce4 &05:15
tuxd3vdoes it start?05:15
mtnman_it goes to a blank screen which appears to be on tty705:16
mtnman_same behavior when i ran startx05:17
tuxd3vand installing x server stuff doesn't help?05:18
tuxd3vapt-get install xserver-xorg-core xserver-xorg-input-libinput xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-evdev?05:18
mtnman_apt-get install xserver-xorg-core xserver-xorg-input-libinput xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-evdev05:20
mtnman_oops wrong keyboard again05:20
mtnman_same behaviour... blank screen on tty705:24
tuxd3vyou have slim session manager installed too I believe05:25
tuxd3vhow does you logged in in xfce4?05:25
tuxd3vwell I think something went south :(05:28
mtnman_yes it went south. i have food on the stove, so am stepping away from this for a bit.05:30
tuxd3vmtnman_, I am sorry for not beign able to help :(05:32
mtnman_thanks anyhow.05:40
openbsdtai123guys, ascii devuan fails to format the ext3 mkfs.ext3 on sdb2... since several months. it hands at writing superbooloks and filesystem...11:58
freemangordontrying to install libdbus-1-3-dbgsym results in:19:37
freemangordonlibdbus-1-3-dbgsym : Depends: libdbus-1-3 (= 1.12.20-0+deb10u1) but 1.12.16-1+devuan2 is to be installed19:37
freemangordonseems we have 2 problems:19:39
freemangordon1. devuan dbus lags behind debian19:39
freemangordon2. devuan does not provide dbgsym packages or at least I was not able to find the repo19:39
freemangordonany hints?19:39
fsmithredfreemangordon, are you in beowulf?19:51
fsmithreddecide whether you're in beowulf (1.12.16-1+devuan2) or chimaera (1.12.20-1+devuan1)19:57
fsmithredmaybe your sources are screwed up?19:57
freemangordonyes, in beowulf19:58
fsmithredso why does it want the chimaera/ceres version?19:59
freemangordondeb http://debug.mirrors.debian.org/debian-debug/ buster-debug main19:59
freemangordonthis is what I have added in sources19:59
fsmithredthat might be the problem19:59
fsmithredjust use devuan sources20:00
freemangordonwhat is devuan repo for -dbgsym packages?20:00
fsmithredsame as for other packages20:00
freemangordonhmm, no20:00
fsmithredyes20:00
freemangordonbecause debian has separate repo, see ^^^20:00
freemangordondebian-debug20:00
fsmithredok, add the debian debug repo if you'[re running debian. Do not add it if you're running devuan.20:01
fsmithredapt-cache policy libdbus-1-3*20:01
freemangordonfsmithred: :)20:01
fsmithreddon't post output here20:01
fsmithredjust read it20:02
freemangordonok, lemme check20:02
fsmithredit should show you the right version in beowulf main20:02
fsmithredthat's what I'm seeing here20:02
fsmithredjust to be sure, are you running amd64 or some other arch?20:02
freemangordonok, my bad20:02
freemangordonindeed there is -dbgsym in devuan repo20:02
freemangordonI wonder why I added debian repo then20:03
fsmithredsometimes there will be a newer debian version before we have devuanized the package20:03
* freemangordon scratches head20:03
fsmithredand that can sometimes cause problems20:03
freemangordonno, I am sure I added that for -dbgsym packages20:03
freemangordonah, yes20:03
freemangordonfor those packages that are just mirrored ;)20:03
fsmithredmaybe you did. I have a vague memory that the dbgsym packages were missing at soe point20:04
fsmithredsome point20:04
freemangordonfsmithred: I guess because devuan has it's own dbus I guess, thus there is -dbgsym in devuan repo, however, for those packages that are taken as-is from debian, there are no -dbgsym packages as they are in a separate repo20:05
freemangordonanyways, thanks for the help20:06
fsmithredoh20:06
freemangordonsee :)20:06
freemangordondevuan does not mirror debian-debug, right?20:06
fsmithredyeah, 'aptitude search dbgsym' gives me a short list, and it looks like it's all packages we fork.20:07
freemangordon:nod:20:07
fsmithredso no, we are not merging the debug repos20:07
fsmithredoy20:07
fsmithredconfusing20:07
fsmithredfor the ones we don't fork, probably safer to download packages from packages.debian.org20:08
freemangordonthat's why one have to add debian-debug if she wants to have debug symbols for most of the packages. anyway, I know now what's going on, thanks again20:09
fsmithredor, if you're going to have any debian sources, you need to pin them to a low priority so they don't get installed unless you specify that repo20:09
freemangordonI'll just temporarily disable debian repo20:09
fsmithredthat works20:09
freemangordonanyways it is a VM with OS installed for development purposes, so even if it breaks, not a biggie20:09
openbsdtai123I can run debian ascii + kde-standard (apt-get ) and teamviewer. teamviwer needs  kde obligatory.23:02
openbsdtai123sorry devuan ascii I meant23:02
openbsdtai123I installed ascii devauan with debootstrap, then grub, then kde-standard. people can have issue with openbox, but teamviwer is made to run teamvivewer_15.8.3_amd64.tar.xz and copy it to /opt, deal with perms and it works fine.23:03

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!