Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Downgrading profile from 17.1 to 17.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 124

PostPosted: Sun Sep 01, 2019 6:34 pm    Post subject: Downgrading profile from 17.1 to 17.0 Reply with quote

This thread is meant to help people downgrade from the 17.1 profile, if they decide that the new SYMLINK_LIB=no setting is less desirable. A reliable way to downgrade is to find an old stage3 and "reinstall", provided you do a backup, of course! (you do backups, right?) Almost every Gentoo user -- by virtue of using Gentoo -- has performed a stage3 install, so most should be comfortable with this.

Once you get to a 17.0 profile, you'll probably want to copy its directories from your Portage snapshot's profiles/ directory to a local overlay so you can continue using it (and later hacking on it if need be). It's not required but it may break things if missing. The 17.1 profile supercedes 17.0 in Gentooland, so it's only a matter of time before it's deleted from the tree (if it isn't already).

veremitz was generous enough to share a stage3 + digests from 2018-07-26. I'll be testing it on my own machine before sharing, but in the mean time I'm open to suggestions for hosting.

(EDIT 2: scrapped the script, too prone to breakage; also changed tone)
(EDIT 3: We have a stage3! Now to put it somewhere that will stay accessible...)


Last edited by spork_kitty on Sat Sep 07, 2019 3:23 pm; edited 2 times in total
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 124

PostPosted: Mon Sep 02, 2019 8:09 pm    Post subject: Reply with quote

If anyone has a 17.0 profile and app-text/tree installed, please show me the output of:

Code:
#!/bin/bash

outfile="./libdir-trees.txt"

# remove in case we've already written it
[ -e "$outfile" ] && rm "$outfile"

echo "Writing to $outfile. This might take a moment."
for d in /lib32 /lib64 /usr/lib32 /usr/lib64 /usr/libexec; do
   echo "Writing $d..."
   tree "$d" >> "$outfile"
   echo -ne "\n" >> "$outfile"
done
echo "Please copy the contents of $outfile somewhere and share it in the forum thread."
echo
echo "x11-misc/xclip        for saving to the clipboard"
echo "app-text/wgetpaste    for uploading to a paste service"
echo


It can give us an idea of what the libdir layout needs to look like.

EDIT: Now in handy script form to reduce manual labor.

EDIT2: No longer needed, but if others would rather manually migrate, this could help them.


Last edited by spork_kitty on Sat Sep 07, 2019 3:26 pm; edited 2 times in total
Back to top
View user's profile Send private message
Morality124
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2018
Posts: 102

PostPosted: Mon Sep 02, 2019 8:21 pm    Post subject: Reply with quote

Code:
/lib32
├── ld-2.29.so
├── ld-linux.so.2 -> ld-2.29.so
├── libanl-2.29.so
├── libanl.so.1 -> libanl-2.29.so
├── libBrokenLocale-2.29.so
├── libBrokenLocale.so.1 -> libBrokenLocale-2.29.so
├── libc-2.29.so
├── libcrypt-2.29.so
├── libcrypt.so.1 -> libcrypt-2.29.so
├── libc.so.6 -> libc-2.29.so
├── libdl-2.29.so
├── libdl.so.2 -> libdl-2.29.so
├── libm-2.29.so
├── libmemusage.so
├── libm.so.6 -> libm-2.29.so
├── libnsl-2.29.so
├── libnsl.so.1 -> libnsl-2.29.so
├── libnss_compat-2.29.so
├── libnss_compat.so.2 -> libnss_compat-2.29.so
├── libnss_db-2.29.so
├── libnss_db.so.2 -> libnss_db-2.29.so
├── libnss_dns-2.29.so
├── libnss_dns.so.2 -> libnss_dns-2.29.so
├── libnss_files-2.29.so
├── libnss_files.so.2 -> libnss_files-2.29.so
├── libnss_hesiod-2.29.so
├── libnss_hesiod.so.2 -> libnss_hesiod-2.29.so
├── libpcprofile.so
├── libpthread-2.29.so
├── libpthread.so.0 -> libpthread-2.29.so
├── libresolv-2.29.so
├── libresolv.so.2 -> libresolv-2.29.so
├── librt-2.29.so
├── librt.so.1 -> librt-2.29.so
├── libSegFault.so
├── libthread_db-1.0.so
├── libthread_db.so.1 -> libthread_db-1.0.so
├── libutil-2.29.so
└── libutil.so.1 -> libutil-2.29.so

0 directories, 39 files


Code:
lib64/
├── cpp
├── device-mapper
│   ├── libdevmapper-event-lvm2mirror.so
│   ├── libdevmapper-event-lvm2raid.so
│   ├── libdevmapper-event-lvm2snapshot.so
│   └── libdevmapper-event-lvm2thin.so
├── dhcpcd
│   ├── dev
│   │   └── udev.so
│   ├── dhcpcd-hooks
│   │   ├── 01-test
│   │   ├── 02-dump
│   │   ├── 20-resolv.conf
│   │   ├── 30-hostname
│   │   ├── 50-ntp.conf
│   │   └── 50-yp.conf
│   └── dhcpcd-run-hooks
├── gentoo
│   └── functions.sh
├── ld-2.26.so
├── ld-linux.so.2 -> ../lib32/ld-linux.so.2
├── ld-linux-x86-64.so.2 -> ld-2.26.so
├── libacl.so.1 -> libacl.so.1.1.0
├── libacl.so.1.1.0
├── libaio.so.1 -> libaio.so.1.0.1
├── libaio.so.1.0.1
├── libanl-2.26.so
├── libanl.so.1 -> libanl-2.26.so
├── libattr.so.1 -> libattr.so.1.1.0
├── libattr.so.1.1.0
├── libblkid.so.1 -> libblkid.so.1.1.0
├── libblkid.so.1.1.0
├── libBrokenLocale-2.26.so
├── libBrokenLocale.so.1 -> libBrokenLocale-2.26.so
├── libbz2.so.1 -> libbz2.so.1.0.6
├── libbz2.so.1.0 -> libbz2.so.1.0.6
├── libbz2.so.1.0.6
├── libc-2.26.so
├── libcap.so.2 -> libcap.so.2.25
├── libcap.so.2.25
├── libcidn-2.26.so
├── libcidn.so.1 -> libcidn-2.26.so
├── libcom_err.so.2 -> libcom_err.so.2.1
├── libcom_err.so.2.1
├── libcrack.so.2 -> libcrack.so.2.9.0
├── libcrack.so.2.9.0
├── libcrypt-2.26.so
├── libcrypt.so.1 -> libcrypt-2.26.so
├── libc.so.6 -> libc-2.26.so
├── libdevmapper-event-lvm2mirror.so -> device-mapper/libdevmapper-event-lvm2mirror.so
├── libdevmapper-event-lvm2raid.so -> device-mapper/libdevmapper-event-lvm2raid.so
├── libdevmapper-event-lvm2snapshot.so -> device-mapper/libdevmapper-event-lvm2snapshot.so
├── libdevmapper-event-lvm2.so.2.02
├── libdevmapper-event-lvm2thin.so -> device-mapper/libdevmapper-event-lvm2thin.so
├── libdevmapper-event.so.1.02
├── libdevmapper.so.1.02
├── libdl-2.26.so
├── libdl.so.2 -> libdl-2.26.so
├── libe2p.so.2 -> libe2p.so.2.3
├── libe2p.so.2.3
├── libeinfo.so -> libeinfo.so.1
├── libeinfo.so.1
├── libext2fs.so.2 -> libext2fs.so.2.4
├── libext2fs.so.2.4
├── libfdisk.so.1 -> libfdisk.so.1.1.0
├── libfdisk.so.1.1.0
├── libgpm.so.1 -> libgpm.so.1.20.0
├── libgpm.so.1.20.0
├── libhistory.so.7 -> libhistory.so.7.0
├── libhistory.so.7.0
├── libip4tc.so.0 -> libip4tc.so.0.1.0
├── libip4tc.so.0.1.0
├── libip6tc.so.0 -> libip6tc.so.0.1.0
├── libip6tc.so.0.1.0
├── libiptc.so.0 -> libiptc.so.0.0.0
├── libiptc.so.0.0.0
├── libkmod.so.2 -> libkmod.so.2.3.2
├── libkmod.so.2.3.2
├── liblvm2app.so.2.2
├── liblvm2cmd.so.2.02
├── liblzma.so.5 -> liblzma.so.5.2.3
├── liblzma.so.5.2.3
├── liblzo2.so.2 -> liblzo2.so.2.0.0
├── liblzo2.so.2.0.0
├── libm-2.26.so
├── libmemusage.so
├── libmnl.so.0 -> libmnl.so.0.2.0
├── libmnl.so.0.2.0
├── libmount.so.1 -> libmount.so.1.1.0
├── libmount.so.1.1.0
├── libm.so.6 -> libm-2.26.so
├── libmvec-2.26.so
├── libmvec.so.1 -> libmvec-2.26.so
├── libncurses.so.6 -> libncurses.so.6.1
├── libncurses.so.6.1
├── libncursesw.so.6 -> libncursesw.so.6.1
├── libncursesw.so.6.1
├── libnsl-2.26.so
├── libnsl.so.1 -> libnsl-2.26.so
├── libnss_db-2.26.so
├── libnss_db.so.2 -> libnss_db-2.26.so
├── libnss_dns-2.26.so
├── libnss_dns.so.2 -> libnss_dns-2.26.so
├── libnss_files-2.26.so
├── libnss_files.so.2 -> libnss_files-2.26.so
├── libnss_hesiod-2.26.so
├── libnss_hesiod.so.2 -> libnss_hesiod-2.26.so
├── libpamc.so -> libpamc.so.0
├── libpamc.so.0 -> libpamc.so.0.82.1
├── libpamc.so.0.82.1
├── libpam_misc.so -> libpam_misc.so.0
├── libpam_misc.so.0 -> libpam_misc.so.0.82.1
├── libpam_misc.so.0.82.1
├── libpam.so -> libpam.so.0
├── libpam.so.0 -> libpam.so.0.84.2
├── libpam.so.0.84.2
├── libpcprofile.so
├── libpcre.so.1 -> libpcre.so.1.2.9
├── libpcre.so.1.2.9
├── libprocps.so.7 -> libprocps.so.7.1.0
├── libprocps.so.7.1.0
├── libpthread-2.26.so
├── libpthread.so.0 -> libpthread-2.26.so
├── librc.so -> librc.so.1
├── librc.so.1
├── libreadline.so.7 -> libreadline.so.7.0
├── libreadline.so.7.0
├── libresolv-2.26.so
├── libresolv.so.2 -> libresolv-2.26.so
├── librt-2.26.so
├── librt.so.1 -> librt-2.26.so
├── libSegFault.so
├── libsmartcols.so.1 -> libsmartcols.so.1.1.0
├── libsmartcols.so.1.1.0
├── libss.so.2 -> libss.so.2.0
├── libss.so.2.0
├── libthread_db-1.0.so
├── libthread_db.so.1 -> libthread_db-1.0.so
├── libtirpc.so.3 -> libtirpc.so.3.0.0
├── libtirpc.so.3.0.0
├── libudev.so.1 -> libudev.so.1.6.3
├── libudev.so.1.6.3
├── libutil-2.26.so
├── libutil.so.1 -> libutil-2.26.so
├── libuuid.so.1 -> libuuid.so.1.3.0
├── libuuid.so.1.3.0
├── libwrap.so.0 -> libwrap.so.0.7.6
├── libwrap.so.0.7.6
├── libxtables.so.12 -> libxtables.so.12.0.0
├── libxtables.so.12.0.0
├── libz.so.1 -> libz.so.1.2.11
├── libz.so.1.2.11
├── modprobe.d
│   └── usb-load-ehci-first.conf
├── netifrc
│   ├── net
│   │   ├── adsl.sh
│   │   ├── apipa.sh
│   │   ├── arping.sh
│   │   ├── bonding.sh
│   │   ├── br2684ctl.sh
│   │   ├── bridge.sh
│   │   ├── ccwgroup.sh
│   │   ├── clip.sh
│   │   ├── dhclient.sh
│   │   ├── dhcpcd.sh
│   │   ├── dummy.sh
│   │   ├── ethtool.sh
│   │   ├── firewalld.sh
│   │   ├── hsr.sh
│   │   ├── ifconfig.sh
│   │   ├── ifplugd.sh
│   │   ├── ip6rd.sh
│   │   ├── ip6to4.sh
│   │   ├── ipppd.sh
│   │   ├── iproute2.sh
│   │   ├── iwconfig.sh
│   │   ├── l2tp.sh
│   │   ├── macchanger.sh
│   │   ├── macnet.sh
│   │   ├── macvlan.sh
│   │   ├── netplugd.sh
│   │   ├── pppd.sh
│   │   ├── pump.sh
│   │   ├── ssidnet.sh
│   │   ├── system.sh
│   │   ├── tuntap.sh
│   │   ├── udhcpc.sh
│   │   ├── vlan.sh
│   │   └── wpa_supplicant.sh
│   ├── sh
│   │   ├── functions.sh
│   │   ├── systemd-wrapper.sh
│   │   └── udhcpc-hook.sh
│   └── version
├── rc
│   ├── bin
│   │   ├── checkpath
│   │   ├── ebegin
│   │   ├── eend
│   │   ├── eerror
│   │   ├── eerrorn
│   │   ├── eindent
│   │   ├── einfo
│   │   ├── einfon
│   │   ├── eoutdent
│   │   ├── esyslog
│   │   ├── eval_ecolors
│   │   ├── ewaitfile
│   │   ├── ewarn
│   │   ├── ewarnn
│   │   ├── ewend
│   │   ├── fstabinfo
│   │   ├── get_options
│   │   ├── is_newer_than
│   │   ├── is_older_than
│   │   ├── kill_all
│   │   ├── mountinfo
│   │   ├── on_ac_power
│   │   ├── rc-depend
│   │   ├── rc-sstat
│   │   ├── save_options
│   │   ├── service_crashed
│   │   ├── service_get_value
│   │   ├── service_hotplugged
│   │   ├── service_inactive
│   │   ├── service_set_value
│   │   ├── service_started
│   │   ├── service_started_daemon
│   │   ├── service_starting
│   │   ├── service_stopped
│   │   ├── service_stopping
│   │   ├── service_wasinactive
│   │   ├── shell_var
│   │   ├── vebegin
│   │   ├── veend
│   │   ├── veindent
│   │   ├── veinfo
│   │   ├── veoutdent
│   │   ├── vewarn
│   │   └── vewend
│   ├── cache
│   │   ├── depconfig
│   │   ├── deptree
│   │   └── softlevel
│   ├── console
│   │   ├── keymap
│   │   └── unicode
│   ├── sbin
│   │   ├── mark_service_crashed
│   │   ├── mark_service_failed
│   │   ├── mark_service_hotplugged
│   │   ├── mark_service_inactive
│   │   ├── mark_service_started
│   │   ├── mark_service_starting
│   │   ├── mark_service_stopped
│   │   ├── mark_service_stopping
│   │   ├── mark_service_wasinactive
│   │   ├── rc-abort
│   │   └── swclock
│   ├── sh
│   │   ├── binfmt.sh
│   │   ├── cgroup-release-agent.sh
│   │   ├── functions.sh
│   │   ├── gendepends.sh
│   │   ├── init-early.sh
│   │   ├── init.sh
│   │   ├── migrate-to-run.sh
│   │   ├── openrc-run.sh
│   │   ├── rc-cgroup.sh
│   │   ├── rc-functions.sh
│   │   ├── rc-mount.sh
│   │   ├── runit.sh
│   │   ├── s6.sh
│   │   ├── start-stop-daemon.sh
│   │   └── supervise-daemon.sh
│   ├── tmp
│   └── version
├── security
│   ├── pam_access.so
│   ├── pam_cracklib.so
│   ├── pam_debug.so
│   ├── pam_deny.so
│   ├── pam_echo.so
│   ├── pam_env.so
│   ├── pam_exec.so
│   ├── pam_faildelay.so
│   ├── pam_filter
│   │   └── upperLOWER
│   ├── pam_filter.so
│   ├── pam_ftp.so
│   ├── pam_group.so
│   ├── pam_issue.so
│   ├── pam_keyinit.so
│   ├── pam_lastlog.so
│   ├── pam_limits.so
│   ├── pam_listfile.so
│   ├── pam_localuser.so
│   ├── pam_loginuid.so
│   ├── pam_mail.so
│   ├── pam_mkhomedir.so
│   ├── pam_motd.so
│   ├── pam_namespace.so
│   ├── pam_nologin.so
│   ├── pam_permit.so
│   ├── pam_pwhistory.so
│   ├── pam_rhosts.so
│   ├── pam_rootok.so
│   ├── pam_securetty.so
│   ├── pam_shells.so
│   ├── pam_stress.so
│   ├── pam_succeed_if.so
│   ├── pam_tally2.so
│   ├── pam_tally.so
│   ├── pam_time.so
│   ├── pam_timestamp.so
│   ├── pam_umask.so
│   ├── pam_unix.so
│   ├── pam_userdb.so
│   ├── pam_warn.so
│   ├── pam_wheel.so
│   └── pam_xauth.so
├── systemd
│   └── system
│       ├── cpupower-frequency-set.service
│       ├── dhcpcd.service
│       ├── fancontrol.service
│       ├── gpm.service
│       ├── iptables-restore.service
│       ├── iptables-store.service
│       ├── lm_sensors.service
│       ├── net@lo.service -> /lib/systemd/system/net@.service
│       ├── net@.service
│       ├── nullmailer.service
│       ├── rsyncd.service
│       ├── sshd.service
│       ├── sshd@.service
│       └── sshd.socket
├── tc
│   ├── experimental.dist
│   ├── m_ipt.so -> m_xt.so
│   ├── m_xt.so
│   ├── normal.dist
│   ├── pareto.dist
│   └── paretonormal.dist
└── udev
    ├── ata_id
    ├── cdrom_id
    ├── collect
    ├── hwdb.d
    │   ├── 20-acpi-vendor.hwdb
    │   ├── 20-bluetooth-vendor-product.hwdb
    │   ├── 20-net-ifname.hwdb
    │   ├── 20-OUI.hwdb
    │   ├── 20-pci-classes.hwdb
    │   ├── 20-pci-vendor-model.hwdb
    │   ├── 20-sdio-classes.hwdb
    │   ├── 20-sdio-vendor-model.hwdb
    │   ├── 20-usb-classes.hwdb
    │   ├── 20-usb-vendor-model.hwdb
    │   ├── 60-evdev.hwdb
    │   ├── 60-keyboard.hwdb
    │   ├── 60-sensor.hwdb
    │   ├── 70-joystick.hwdb
    │   ├── 70-mouse.hwdb
    │   ├── 70-pointingstick.hwdb
    │   └── 70-touchpad.hwdb
    ├── mtd_probe
    ├── net.sh
    ├── rules.d
    │   ├── 10-dm.rules
    │   ├── 11-dm-lvm.rules
    │   ├── 13-dm-disk.rules
    │   ├── 40-gentoo.rules
    │   ├── 50-udev-default.rules
    │   ├── 60-block.rules
    │   ├── 60-cdrom_id.rules
    │   ├── 60-drm.rules
    │   ├── 60-evdev.rules
    │   ├── 60-persistent-alsa.rules
    │   ├── 60-persistent-input.rules
    │   ├── 60-persistent-storage.rules
    │   ├── 60-persistent-storage-tape.rules
    │   ├── 60-persistent-v4l.rules
    │   ├── 60-sensor.rules
    │   ├── 60-serial.rules
    │   ├── 64-btrfs-dm.rules
    │   ├── 64-btrfs.rules
    │   ├── 69-dm-lvm-metad.rules
    │   ├── 70-mouse.rules
    │   ├── 70-touchpad.rules
    │   ├── 75-net-description.rules
    │   ├── 75-probe_mtd.rules
    │   ├── 78-sound-card.rules
    │   ├── 80-drivers.rules
    │   ├── 80-net-name-slot.rules
    │   ├── 90-network.rules
    │   └── 95-dm-notify.rules
    ├── scsi_id
    └── v4l_id

24 directories, 376 files


Last edited by Morality124 on Tue Sep 03, 2019 1:30 am; edited 1 time in total
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 124

PostPosted: Mon Sep 02, 2019 10:10 pm    Post subject: Reply with quote

@Morality124: Awesome, thank you! This will help. Could you also show me the "tree" output from /usr/lib32, /usr/lib64, and /usr/libexec (if it exists)?

Between all five of those, we should have a mostly complete picture.
Back to top
View user's profile Send private message
Morality124
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2018
Posts: 102

PostPosted: Tue Sep 03, 2019 1:31 am    Post subject: Reply with quote

Code:
usr/lib32/
├── audit
│   └── sotruss-lib.so
├── crt1.o
├── crti.o
├── crtn.o
├── gconv
│   ├── ANSI_X3.110.so
│   ├── ARMSCII-8.so
│   ├── ASMO_449.so
│   ├── BIG5HKSCS.so
│   ├── BIG5.so
│   ├── BRF.so
│   ├── CP10007.so
│   ├── CP1125.so
│   ├── CP1250.so
│   ├── CP1251.so
│   ├── CP1252.so
│   ├── CP1253.so
│   ├── CP1254.so
│   ├── CP1255.so
│   ├── CP1256.so
│   ├── CP1257.so
│   ├── CP1258.so
│   ├── CP737.so
│   ├── CP770.so
│   ├── CP771.so
│   ├── CP772.so
│   ├── CP773.so
│   ├── CP774.so
│   ├── CP775.so
│   ├── CP932.so
│   ├── CSN_369103.so
│   ├── CWI.so
│   ├── DEC-MCS.so
│   ├── EBCDIC-AT-DE-A.so
│   ├── EBCDIC-AT-DE.so
│   ├── EBCDIC-CA-FR.so
│   ├── EBCDIC-DK-NO-A.so
│   ├── EBCDIC-DK-NO.so
│   ├── EBCDIC-ES-A.so
│   ├── EBCDIC-ES.so
│   ├── EBCDIC-ES-S.so
│   ├── EBCDIC-FI-SE-A.so
│   ├── EBCDIC-FI-SE.so
│   ├── EBCDIC-FR.so
│   ├── EBCDIC-IS-FRISS.so
│   ├── EBCDIC-IT.so
│   ├── EBCDIC-PT.so
│   ├── EBCDIC-UK.so
│   ├── EBCDIC-US.so
│   ├── ECMA-CYRILLIC.so
│   ├── EUC-CN.so
│   ├── EUC-JISX0213.so
│   ├── EUC-JP-MS.so
│   ├── EUC-JP.so
│   ├── EUC-KR.so
│   ├── EUC-TW.so
│   ├── GB18030.so
│   ├── GBBIG5.so
│   ├── GBGBK.so
│   ├── GBK.so
│   ├── gconv-modules
│   ├── GEORGIAN-ACADEMY.so
│   ├── GEORGIAN-PS.so
│   ├── GOST_19768-74.so
│   ├── GREEK7-OLD.so
│   ├── GREEK7.so
│   ├── GREEK-CCITT.so
│   ├── HP-GREEK8.so
│   ├── HP-ROMAN8.so
│   ├── HP-ROMAN9.so
│   ├── HP-THAI8.so
│   ├── HP-TURKISH8.so
│   ├── IBM037.so
│   ├── IBM038.so
│   ├── IBM1004.so
│   ├── IBM1008_420.so
│   ├── IBM1008.so
│   ├── IBM1025.so
│   ├── IBM1026.so
│   ├── IBM1046.so
│   ├── IBM1047.so
│   ├── IBM1097.so
│   ├── IBM1112.so
│   ├── IBM1122.so
│   ├── IBM1123.so
│   ├── IBM1124.so
│   ├── IBM1129.so
│   ├── IBM1130.so
│   ├── IBM1132.so
│   ├── IBM1133.so
│   ├── IBM1137.so
│   ├── IBM1140.so
│   ├── IBM1141.so
│   ├── IBM1142.so
│   ├── IBM1143.so
│   ├── IBM1144.so
│   ├── IBM1145.so
│   ├── IBM1146.so
│   ├── IBM1147.so
│   ├── IBM1148.so
│   ├── IBM1149.so
│   ├── IBM1153.so
│   ├── IBM1154.so
│   ├── IBM1155.so
│   ├── IBM1156.so
│   ├── IBM1157.so
│   ├── IBM1158.so
│   ├── IBM1160.so
│   ├── IBM1161.so
│   ├── IBM1162.so
│   ├── IBM1163.so
│   ├── IBM1164.so
│   ├── IBM1166.so
│   ├── IBM1167.so
│   ├── IBM12712.so
│   ├── IBM1364.so
│   ├── IBM1371.so
│   ├── IBM1388.so
│   ├── IBM1390.so
│   ├── IBM1399.so
│   ├── IBM16804.so
│   ├── IBM256.so
│   ├── IBM273.so
│   ├── IBM274.so
│   ├── IBM275.so
│   ├── IBM277.so
│   ├── IBM278.so
│   ├── IBM280.so
│   ├── IBM281.so
│   ├── IBM284.so
│   ├── IBM285.so
│   ├── IBM290.so
│   ├── IBM297.so
│   ├── IBM420.so
│   ├── IBM423.so
│   ├── IBM424.so
│   ├── IBM437.so
│   ├── IBM4517.so
│   ├── IBM4899.so
│   ├── IBM4909.so
│   ├── IBM4971.so
│   ├── IBM500.so
│   ├── IBM5347.so
│   ├── IBM803.so
│   ├── IBM850.so
│   ├── IBM851.so
│   ├── IBM852.so
│   ├── IBM855.so
│   ├── IBM856.so
│   ├── IBM857.so
│   ├── IBM860.so
│   ├── IBM861.so
│   ├── IBM862.so
│   ├── IBM863.so
│   ├── IBM864.so
│   ├── IBM865.so
│   ├── IBM866NAV.so
│   ├── IBM866.so
│   ├── IBM868.so
│   ├── IBM869.so
│   ├── IBM870.so
│   ├── IBM871.so
│   ├── IBM874.so
│   ├── IBM875.so
│   ├── IBM880.so
│   ├── IBM891.so
│   ├── IBM901.so
│   ├── IBM902.so
│   ├── IBM9030.so
│   ├── IBM903.so
│   ├── IBM904.so
│   ├── IBM905.so
│   ├── IBM9066.so
│   ├── IBM918.so
│   ├── IBM921.so
│   ├── IBM922.so
│   ├── IBM930.so
│   ├── IBM932.so
│   ├── IBM933.so
│   ├── IBM935.so
│   ├── IBM937.so
│   ├── IBM939.so
│   ├── IBM943.so
│   ├── IBM9448.so
│   ├── IEC_P27-1.so
│   ├── INIS-8.so
│   ├── INIS-CYRILLIC.so
│   ├── INIS.so
│   ├── ISIRI-3342.so
│   ├── ISO_10367-BOX.so
│   ├── ISO_11548-1.so
│   ├── ISO-2022-CN-EXT.so
│   ├── ISO-2022-CN.so
│   ├── ISO-2022-JP-3.so
│   ├── ISO-2022-JP.so
│   ├── ISO-2022-KR.so
│   ├── ISO_2033.so
│   ├── ISO_5427-EXT.so
│   ├── ISO_5427.so
│   ├── ISO_5428.so
│   ├── ISO646.so
│   ├── ISO_6937-2.so
│   ├── ISO_6937.so
│   ├── ISO8859-10.so
│   ├── ISO8859-11.so
│   ├── ISO8859-13.so
│   ├── ISO8859-14.so
│   ├── ISO8859-15.so
│   ├── ISO8859-16.so
│   ├── ISO8859-1.so
│   ├── ISO8859-2.so
│   ├── ISO8859-3.so
│   ├── ISO8859-4.so
│   ├── ISO8859-5.so
│   ├── ISO8859-6.so
│   ├── ISO8859-7.so
│   ├── ISO8859-8.so
│   ├── ISO8859-9E.so
│   ├── ISO8859-9.so
│   ├── ISO-IR-197.so
│   ├── ISO-IR-209.so
│   ├── JOHAB.so
│   ├── KOI8-R.so
│   ├── KOI8-RU.so
│   ├── KOI-8.so
│   ├── KOI8-T.so
│   ├── KOI8-U.so
│   ├── LATIN-GREEK-1.so
│   ├── LATIN-GREEK.so
│   ├── libCNS.so
│   ├── libGB.so
│   ├── libISOIR165.so
│   ├── libJIS.so
│   ├── libJISX0213.so
│   ├── libKSC.so
│   ├── MAC-CENTRALEUROPE.so
│   ├── MACINTOSH.so
│   ├── MAC-IS.so
│   ├── MAC-SAMI.so
│   ├── MAC-UK.so
│   ├── MIK.so
│   ├── NATS-DANO.so
│   ├── NATS-SEFI.so
│   ├── PT154.so
│   ├── RK1048.so
│   ├── SAMI-WS2.so
│   ├── SHIFT_JISX0213.so
│   ├── SJIS.so
│   ├── T.61.so
│   ├── TCVN5712-1.so
│   ├── TIS-620.so
│   ├── TSCII.so
│   ├── UHC.so
│   ├── UNICODE.so
│   ├── UTF-16.so
│   ├── UTF-32.so
│   ├── UTF-7.so
│   └── VISCII.so
├── gcrt1.o
├── libanl.a
├── libanl.so -> ../../lib32/libanl.so.1
├── libBrokenLocale.a
├── libBrokenLocale.so -> ../../lib32/libBrokenLocale.so.1
├── libc.a
├── libcidn.so -> ../../lib32/libcidn.so.1
├── libc_nonshared.a
├── libcrypt.a
├── libcrypt.so -> ../../lib32/libcrypt.so.1
├── libc.so
├── libdl.a
├── libdl.so -> ../../lib32/libdl.so.2
├── libg.a
├── libieee.a
├── libm.a
├── libmcheck.a
├── libm.so -> ../../lib32/libm.so.6
├── libnss_db.so -> ../../lib32/libnss_db.so.2
├── libnss_dns.so -> ../../lib32/libnss_dns.so.2
├── libnss_files.so -> ../../lib32/libnss_files.so.2
├── libnss_hesiod.so -> ../../lib32/libnss_hesiod.so.2
├── libpthread.a
├── libpthread_nonshared.a
├── libpthread.so
├── libresolv.a
├── libresolv.so -> ../../lib32/libresolv.so.2
├── librt.a
├── librt.so -> ../../lib32/librt.so.1
├── libsandbox.so
├── libthread_db.so -> ../../lib32/libthread_db.so.1
├── libutil.a
├── libutil.so -> ../../lib32/libutil.so.1
├── locale -> ../lib64/locale
├── Mcrt1.o
├── misc
│   └── glibc
│       └── getconf
│           ├── POSIX_V6_ILP32_OFF32
│           ├── POSIX_V6_ILP32_OFFBIG
│           ├── POSIX_V7_ILP32_OFF32
│           ├── POSIX_V7_ILP32_OFFBIG
│           ├── XBS5_ILP32_OFF32
│           └── XBS5_ILP32_OFFBIG
└── Scrt1.o

6 directories, 298 files


Code:
usr/libexec/
├── coreutils
│   └── libstdbuf.so
├── ctags
│   └── drivers
│       └── coffeetags
├── editor
├── gcc
│   └── x86_64-pc-linux-gnu
│       └── 7.3.0
│           ├── cc1
│           ├── cc1plus
│           ├── collect2
│           ├── f951
│           ├── liblto_plugin.la
│           ├── liblto_plugin.so -> liblto_plugin.so.0.0.0
│           ├── liblto_plugin.so.0 -> liblto_plugin.so.0.0.0
│           ├── liblto_plugin.so.0.0.0
│           ├── lto1
│           ├── lto-wrapper
│           └── plugin
│               └── gengtype
├── gpg-check-pattern
├── gpg-preset-passphrase
├── gpg-protect-tool
├── gpg-wks-client
├── man-db
│   ├── globbing
│   ├── manconv
│   └── zsoelim
├── nullmailer
│   ├── qmqp
│   └── smtp
├── pager
└── scdaemon

9 directories, 25 files


/usr/lib64 is too big to post.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31269
Location: here

PostPosted: Tue Sep 03, 2019 5:07 am    Post subject: Reply with quote

Morality124 wrote:
/usr/lib64 is too big to post.

Use wgetpaste
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 124

PostPosted: Sat Sep 07, 2019 3:13 pm    Post subject: Reply with quote

Thanks to veremitz in #gentoo-releng, I have a 17.0 stage3 to work from, with verified signed digests from Gentoo. It's from 2018-07-26.

Where should I host this thing? archive.org? BitTorrent? Suggestions welcome.
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 124

PostPosted: Mon Sep 09, 2019 1:23 am    Post subject: Reply with quote

Quick update: I'm in sysrescuecd right now and have extracted the stage3. (pro tip: disable screen blanking and suspend/hibernate or you'll be unable to wake it if you copied to RAM)

It seems that it'll be a little tricky to work with this and get it sane again since some of the extant software hasn't been rebuilt for the older profile yet.

The order I have in mind is:


  • extract stage3
  • prep mounts for chroot
  • restore backup of key /etc/ files (didn't snag passwd and group since I thought they'd be left alone, oops)
  • reset password for root and my primary user
  • chroot in, env-update, etc
  • rebuild @world with new-but-actually-old profile


Have I missed anything? It still has the old gentoo.git checkout in /usr/portage, so it's fully compatible with the 17.0 profile. When I first tried to update @world, it had a lot of pkgconfig and glibc errors, so perhaps a rebuild of @system should happen first, after binutils and gcc?
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Mon Sep 09, 2019 1:55 am    Post subject: Reply with quote

I'm glad I copied 17.0 to overlay and never switched to 17.1

I didn't like /lib holding both 64 bit and 32 bit.
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 124

PostPosted: Mon Sep 09, 2019 4:38 am    Post subject: Reply with quote

Tony0945 wrote:
I'm glad I copied 17.0 to overlay and never switched to 17.1

I didn't like /lib holding both 64 bit and 32 bit.


yeah, I wish I had stayed on it. When I tried to reinstall binutils and gcc, it autocleaned a bunch of packages and broke itself so I'm wiping the partition and starting from a clean slate. It's not all bad news, though; /boot, /opt, and /home are on different partitions. Only / will be nuked. It pays to plan ahead. :)
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Mon Sep 09, 2019 2:20 pm    Post subject: Reply with quote

spork_kitty wrote:
yeah, I wish I had stayed on it. When I tried to reinstall binutils and gcc, it autocleaned a bunch of packages and broke itself so I'm wiping the partition and starting from a clean slate. It's not all bad news, though; /boot, /opt, and /home are on different partitions. Only / will be nuked. It pays to plan ahead. :)

Well better that you had made a backup of / before converting. Then you could have restored the backup and a simple portage sync and update would have brought you back, except for the inevitable blockers that always occur when restoring a backup a month or older.
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 124

PostPosted: Mon Sep 09, 2019 10:51 pm    Post subject: Reply with quote

Tony0945 wrote:
spork_kitty wrote:
yeah, I wish I had stayed on it. When I tried to reinstall binutils and gcc, it autocleaned a bunch of packages and broke itself so I'm wiping the partition and starting from a clean slate. It's not all bad news, though; /boot, /opt, and /home are on different partitions. Only / will be nuked. It pays to plan ahead. :)

Well better that you had made a backup of / before converting. Then you could have restored the backup and a simple portage sync and update would have brought you back, except for the inevitable blockers that always occur when restoring a backup a month or older.


I still have a bunch of other /etc files, including the portage dir. I think I'm going to try to get it to a bootable, usable system before I restore the portage backup, given the issues that've presented themselves. That will give me a better base to work from.

Once I establish such a base, what's the cleanest way to keep a backup of it?
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Tue Sep 10, 2019 12:13 am    Post subject: Reply with quote

I meant a backup of the whole system, not just portage, although I do a portage backup before eix-sync.
spork-kitty wrote:
Once I establish such a base, what's the cleanest way to keep a backup of it?

I'd like an opinion on that myself. I'm notoriously bad at backing up.
If I had gone from 17.0 to 17.1 I would have copied all of / onto a BIG HDD, which I happen to have space free on.
However, I didn't back up when I went from13.0 to 17.0. That change made sense. 17.1 doesn't have a reason except:
1. It helps if you run skype. I don't
2. It helps if you run old games. I don't. (except the old gnome card games and I don't think that was what was meant)
3. "All the big boys are doing it!" My mother demolished this when I was in second grade.

17.0 at least promised better security.

Re backup, that invites comments from our experts. Perhaps you should open a thread in Gentoo Chat.
I think that would be best. This is not a brush-off, I really do think that's the best way.

EDIT:
Ooops! This is Gentoo Chat, although it feels like a support thread.
Back to top
View user's profile Send private message
Morality124
Tux's lil' helper
Tux's lil' helper


Joined: 20 Feb 2018
Posts: 102

PostPosted: Tue Sep 10, 2019 1:06 am    Post subject: Reply with quote

spork_kitty wrote:
Once I establish such a base, what's the cleanest way to keep a backup of it?


If you have the HD space, a minimal 10 GB~ 'recovery' partition would be an adequate backup.
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 124

PostPosted: Tue Sep 10, 2019 1:19 am    Post subject: Reply with quote

Morality124 wrote:
If you have the HD space, a minimal 10 GB~ 'recovery' partition would be an adequate backup.


That's a fantastic idea. Everything's in LVM already so I can just create a new LV!
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Tue Sep 10, 2019 1:25 am    Post subject: Reply with quote

Morality124 wrote:
If you have the HD space, a minimal 10 GB~ 'recovery' partition would be an adequate backup.


Code:
 df -h
Filesystem       Size  Used Avail Use% Mounted on
/dev/root        458G  238G  197G  55% /

but
Code:
 $ sudo du -sh /root
5.3G   /root
sudo du -sh /home
du: cannot access '/home/tony/.cache/gvfs': Permission denied
154G   /home
$ sudo du -sh /usr
67G   /usr

So, without /root and /home, I have about 68G with 67G being in /usr
However, I do have smaller systems.
But note:
Code:
 df -h
Filesystem       Size  Used Avail Use% Mounted on
/dev/root        458G  238G  197G  55% /
...
//trantor/data   916G   23G  847G   3% /mnt/trantor-data

My central samba store has 847G available and that's from a new HDD that only cost $99 US
The SSD is fast, but, so far, nothing beats "rotating rust" for dollars/per Gigabyte. In fact about 10 cents per Gigabyte. 7200RPM, five year warranty.
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 124

PostPosted: Tue Sep 10, 2019 1:46 am    Post subject: Reply with quote

Tony0945: I think we're talking about just backing up the base, so I can instantly go back to a clean and ready-to-hack-on bare Gentoo system. Kinda like the recovery partition that Windows creates. 10GB should be plenty for something that basic. I'd only be adding in a few extras like git, tmux, vim, lynx, etc., then copying it over as a sort of poor man's stage4.

Expanded, the brand new stage3 is only 1.1G according to `du -hs`.

Getting it back to where it was, though, that'll definitely need more. I was pushing an average of 30GB, mostly due to kernel sources and distfiles. With those cleaned, it hovered around 22-25GB.

How is your /usr that large? It seems mind boggling to me since my prior system had a ton of software on it. (for me, anyway. About 1200 packages incl. deps)
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Tue Sep 10, 2019 4:21 am    Post subject: Reply with quote

spork_kitty wrote:
How is your /usr that large? It seems mind boggling to me since my prior system had a ton of software on it. (for me, anyway. About 1200 packages incl. deps)

I'll have to investigate but probably because I keep three kernels active. And several IDE's, Mate, lumina, XFCE and OpenBox.
I'd hestitate to explain /home. I think it's 167G but has the source code of some big projects. And who knows how big that gvfs is.
Mate is the IDE that I like the best. Unfortunately it has some RedHat black holes like gvfs that even root cannot explore.

My server is much smaller, running on a 64G SSD. No fancy GUI. Just the bareb bones to investigate the cable modem and router. It does have the local overlay(s) but only the ebuilds and surprisingly the tarballs take much less space than the expanded source code.
Most data is on the two Terabyte class HDD's.
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 124

PostPosted: Thu Sep 12, 2019 12:12 am    Post subject: Reply with quote

Tony0945 wrote:
I'll have to investigate but probably because I keep three kernels active. And several IDE's, Mate, lumina, XFCE and OpenBox.
I'd hestitate to explain /home. I think it's 167G but has the source code of some big projects. And who knows how big that gvfs is.
Mate is the IDE that I like the best. Unfortunately it has some RedHat black holes like gvfs that even root cannot explore.

My server is much smaller, running on a 64G SSD. No fancy GUI. Just the bareb bones to investigate the cable modem and router. It does have the local overlay(s) but only the ebuilds and surprisingly the tarballs take much less space than the expanded source code.
Most data is on the two Terabyte class HDD's.


Ah, yep. DEs will eat up disk space pretty fast. But to be fair, the ones you have are on the lighter end. Openbox is just a WM so it's probably the lightest.

I haven't used Mate; isn't it a continuation/fork of GNOME 2? I knew someone that was really into GNOME 2 and the gdesklet apps, circa 2007. Are those still around?

As for /home... we won't speak of such heinous chaos. :lol: Re-organizing that mess is on the very bottom of my to-do list because I dread it so much, but it bothers me to see it in disarray.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Sep 12, 2019 12:23 am    Post subject: Reply with quote

spork_kitty wrote:
I haven't used Mate; isn't it a continuation/fork of GNOME 2? I knew someone that was really into GNOME 2 and the gdesklet apps, circa 2007. Are those still around?

Correct. I hate Gnome 3 like I hate Windows 8.
gdesklet? The little apps in the tool bar like sensors and calendar? yes. Good luck trying trying to find an explanation of how to write them.
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 124

PostPosted: Thu Sep 12, 2019 3:05 am    Post subject: Reply with quote

Tony0945 wrote:
spork_kitty wrote:
I haven't used Mate; isn't it a continuation/fork of GNOME 2? I knew someone that was really into GNOME 2 and the gdesklet apps, circa 2007. Are those still around?

Correct. I hate Gnome 3 like I hate Windows 8.
gdesklet? The little apps in the tool bar like sensors and calendar? yes. Good luck trying trying to find an explanation of how to write them.


Nice. I feel the same way about Win10. It won't ever be on my hardware.

It sucks when something neat like gdesklets or *box dockapps don't get the docs that they need to motivate people to develop for them.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Thu Sep 12, 2019 3:43 pm    Post subject: Reply with quote

spork_kitty wrote:
Nice. I feel the same way about Win10. It won't ever be on my hardware.

Don't know what Win 10 looks like. when they offered the "free upgrade", I read the license aggreement. it's spyware and you agree to let them delete files. No way. Turbotax is dropping Win7 next year. goodbye-turbotax. A VM might be a solution, but I'm not giving Micro$oft $100 so I can run Turbotax. US taxes are simple enough to do manually now. I could even write a wxwidgets program, I f I knew how to handle fillable pdf files.
If Quicken, et all, don't at least have an Ubuntu version - sod 'em.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum