Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installation help *SOLVED*
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Thu Nov 22, 2018 4:27 pm    Post subject: Installation help *SOLVED* Reply with quote

Hi, everyone, and happy Thanksgiving!

I've been away for a while, I'm attempting to get back into the Gentoo world. The problem is that I'm very rusty and will need some help! I followed the installation guide to the letter, however, I had trouble getting my kernel to boot (obviously I didn't have it configured properly for my hardware). Due to time constraints, I haven't been able to work with it much. Now I am freed up to get it running, and I'm running into another problem trying to update my world so that I can "get back on this horse". When I enter:
Code:
emerge -uDNvp world


I get the following block:
Code:
[blocks B      ] sys-libs/glibc ("sys-libs/glibc" is blocking dev-libs/libintl-0.19.7)
[blocks B      ] sys-libs/glibc ("sys-libs/glibc" is blocking dev-libs/libiconv-1.14-r1)

Total: 169 packages (136 upgrades, 8 new, 5 in new slots, 20 reinstalls, 31 uninstalls), Size of downloads: 662,992 KiB
Conflict: 34 blocks (2 unsatisfied)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-libs/gdbm:0

  (sys-libs/gdbm-1.13-r2:0/1.13::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (sys-libs/gdbm-1.11:0/0::gentoo, installed) pulled in by
    sys-libs/gdbm:0/0=[berkdb] required by (dev-lang/python-3.6.5:3.6/3.6m::gentoo, installed)
                 ^^^^^                                                                                                           

sys-libs/readline:0

  (sys-libs/readline-7.0_p3:0/7::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-libs/readline-7.0:0= required by (app-shells/bash-4.4_p12:0/0::gentoo, ebuild scheduled for merge)
    ^^                  ^^^^^^                                                                                                                                                       

  (sys-libs/readline-6.3_p8-r3:0/0::gentoo, installed) pulled in by
    >=sys-libs/readline-4.1:0/0= required by (dev-lang/python-3.6.5:3.6/3.6m::gentoo, installed)
                           ^^^^^                                                                                                   
    (and 1 more with the same problem)

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-libs/glibc-2.23-r4:2.2/2.2::gentoo, installed) pulled in by
    sys-libs/glibc:2.2 required by (virtual/libc-1:0/0::gentoo, installed)

  (dev-libs/libintl-0.19.7:0/0::gentoo, ebuild scheduled for merge) pulled in by
    dev-libs/libintl required by @system

  (dev-libs/libiconv-1.14-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by
    dev-libs/libiconv required by @system


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sys-kernel/genkernel-3.5.3.3::gentoo
# required by @selected
# required by @world (argument)
>=sys-apps/util-linux-2.32-r4 static-libs
# required by sys-boot/os-prober-1.76-r1::gentoo
# required by @selected
# required by @world (argument)
>=sys-boot/grub-2.02-r1 mount

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.

!!! The following installed packages are masked:
- sys-libs/glibc-2.23-r4::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Micha�� G��rny <mgorny@gentoo.org>, Andreas K. H��ttel <dilfridge@gentoo.org>,
# Matthias Maier <tamiko@gentoo.org> (21 May 2017 and later updates)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.


Note, I just copied the blocks that were pulled in for simplicity. I was hoping someone could help guide me through what I need to do. I truly appreciate all the help I can get!

Thanks!

Todd


Last edited by todd93 on Tue Nov 27, 2018 12:35 am; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Thu Nov 22, 2018 4:54 pm    Post subject: Reply with quote

Welcome back!

Well, for these portage conflicts, you never solve first error first like most debugging situations. At least IMHO the first priority is to solve all "required" USE, and possibly but not always MASK conflicts. So your first priority is to deal with genkernel wanting util-linux with USE=static-libs and os-prober wanting grub with USE=mount :
add

Code:
# required by sys-kernel/genkernel-3.5.3.3::gentoo
# required by @selected
# required by @world (argument)
>=sys-apps/util-linux-2.32-r4 static-libs
# required by sys-boot/os-prober-1.76-r1::gentoo
# required by @selected
# required by @world (argument)
>=sys-boot/grub-2.02-r1 mount

to your /etc/portage/package.use - if there's a directory there, then create a file in that directory and add these to that file.

Then try the emerge again and see if Portage can solve the remaining issues. It likely can!
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Nov 22, 2018 4:55 pm    Post subject: Reply with quote

Something is wrong, you said this is a new install? Why the installed packages are so old? Did you use some old stage-3 tarball?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Thu Nov 22, 2018 5:00 pm    Post subject: Reply with quote

Jaglover wrote:
Something is wrong, you said this is a new install? Why the installed packages are so old? Did you use some old stage-3 tarball?


Sort of new, I started this about a year ago, then ran into errors, then I was unable to come back to it until now. Is there something else I need to do to get this up to current standards before proceeding?

Thanks!

Todd
Back to top
View user's profile Send private message
Dwosky
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2018
Posts: 135

PostPosted: Thu Nov 22, 2018 6:41 pm    Post subject: Reply with quote

todd93 wrote:
I started this about a year ago

Maybe it should be better to start with a recent stage3 tarfile as correcting dependencies of year old packages might be time consuming. You can copy several of the already configured items and the kernel configuration to the new stage3 if needed, to speed up things.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Thu Nov 22, 2018 6:42 pm    Post subject: Reply with quote

If you have no attachment to the install, it may be better just to start with a fresh stage3...

I was wondering because glibc-2.23 is old... In any case a lot of the times it is able to update to newest - though it may be easier to start fresh if you have not been using that install.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Thu Nov 22, 2018 7:19 pm    Post subject: Reply with quote

todd93,

If you want the educational experience, fix what you have. For a working Gentoo in the shortest possible time, start again.

After a year of not updating, you will have to do the update in several parts, which will involve building several packages several times.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Thu Nov 22, 2018 7:45 pm    Post subject: Reply with quote

NeddySeagoon wrote:
todd93,

If you want the educational experience, fix what you have. For a working Gentoo in the shortest possible time, start again.

After a year of not updating, you will have to do the update in several parts, which will involve building several packages several times.


You guys are making this choice a tough one lol! I have no attachment to this build, as I never got my kernel to boot. I would like to have the educational experience, as I know the current stage 3 I have is probably stable, and I do have some time and need the refresher in Gentoo. So I probably will fix what I have.

I've always appreciated your help, NeddySeagoon, I have gotten countless amounts of help from you over the years!

Thanks again!

Todd
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Fri Nov 23, 2018 2:01 pm    Post subject: Reply with quote

Ok, I was rolling along, updating the packages that needed updated, however, about 2/3 of the way through, I'm getting a failure, and I'm not sure what is making this package fail (I know it's stated in the log here, but I don't know what steps to take.) Once I get these updated, I will move into kernel configuration and attempt to get my kernel to boot, but one thing at a time.

Code:

Emerging (1 of 64) sys-libs/uclibc-ng-1.0.30-r1::gentoo
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * uClibc-ng-1.0.30.tar.bz2 BLAKE2B SHA512 size ;-) ...                          [ ok ]
 * ERROR: sys-libs/uclibc-ng-1.0.30-r1::gentoo failed (setup phase):
 *   Use sys-devel/crossdev to build a uclibc toolchain
 *
 * Call stack:
 *                    ebuild.sh, line 124:  Called pkg_setup
 *   uclibc-ng-1.0.30-r1.ebuild, line 237:  Called die
 * The specific snippet of code:
 *                      *) die "Use sys-devel/crossdev to build a uclibc toolchain" ;;
 *
 * If you need support, post the output of `emerge --info '=sys-libs/uclibc-ng-1.0.30-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/uclibc-ng-1.0.30-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/uclibc-ng-1.0.30-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/uclibc-ng-1.0.30-r1/temp/die.env'.
 * Working directory: '/var/tmp/portage/sys-libs/uclibc-ng-1.0.30-r1/homedir'
 * S: '/var/tmp/portage/sys-libs/uclibc-ng-1.0.30-r1/work/uClibc-ng-1.0.30'


I do apologize, I'm quite rusty on Gentoo, and deciphering what needs to be done to make these packages succeed.

Thanks

Todd
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Fri Nov 23, 2018 6:33 pm    Post subject: Reply with quote

todd93,

Why does your system think it needs sys-libs/uclibc-ng ?
Thats a libc aimed at embedded systems.

Please post the output of
Code:
emerge --info

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Fri Nov 23, 2018 6:56 pm    Post subject: Reply with quote

NeddySeagoon wrote:
todd93,

Why does your system think it needs sys-libs/uclibc-ng ?
Thats a libc aimed at embedded systems.

Please post the output of
Code:
emerge --info


NeddySeagoon,

That is a great question! I wouldn't be surprised if I've screwed something up here.
Code:

# emerge --info
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/uclibc/hardened, gcc-5.4.0, unavailable, 4.5.2-aufs-r1 x86_64)
=================================================================
System uname: Linux-4.5.2-aufs-r1-x86_64-AMD_Ryzen_7_1700_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    16374712 total,  10935372 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of repository gentoo: Fri, 23 Nov 2018 13:30:02 +0000
Head commit of repository gentoo: 6a13ee167c0a04ce671ce2117005c1544053224b
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.30-r4::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 bindist bzip2 crypt cxx hardened iconv ipv6 libtirpc ncurses nptl openmp pcre pie readline seccomp ssl ssp uclibc unicode xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="uclibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Fri Nov 23, 2018 7:16 pm    Post subject: Reply with quote

todd93,

Your profile is
Code:
default/linux/amd64/17.0/uclibc/hardened
notice the uclibc in there.
You have
Code:
sys-libs/glibc:           2.23-r4::gentoo
installed.
That may be not be your own install as your kernel is 4.5.2-aufs-r1

If you want an everyday desktop Gentoo, choose another profile.
Code:
[56]  default/linux/amd64/17.0/uclibc/hardened (exp)
even comes with the (exp)erimental warning label.

To build a uclibc install, you need to start with a uclibc stage3. Did you?
If not, choose on of the stable default/linux/amd64/17.0... profiles that most closely matches your use case.

-- edit --

You probably want to remove bindist from your USE flags too. That causes portage to remove some functionality and branding, so that the resulting binaries can be distributed.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sat Nov 24, 2018 12:51 am    Post subject: Reply with quote

NeddySeagoon,

Yes, you're correct! I feel so foolish! I have corrected that problem and selected the following profile:
Code:

default/linux/amd64/17.0/desktop/gnome (stable)


That's changed the outlook some, now when I enter:
Code:

emerge -uDNvp world


I get the following failure:
Code:

* Messages for package sys-libs/glibc-2.27-r6:

 * In order to use glibc with USE=-suid, you must make sure that
 * you have devpts mounted at /dev/pts with the gid=5 option.
 * Openrc should do this for you, so you should check /etc/fstab
 * and make sure you do not have any invalid settings there.
 * ERROR: sys-libs/glibc-2.27-r6::gentoo failed (pretend phase):
 *   mount & fix your /dev/pts settings
 *
 * Call stack:
 *              ebuild.sh, line 124:  Called pkg_pretend
 *   glibc-2.27-r6.ebuild, line 723:  Called sanity_prechecks
 *   glibc-2.27-r6.ebuild, line 596:  Called check_devpts
 *   glibc-2.27-r6.ebuild, line 522:  Called die
 * The specific snippet of code:
 *              die "mount & fix your /dev/pts settings"
 *
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.27-r6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.27-r6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.27-r6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.27-r6/temp/die.env'.
 * Working directory: '/var/tmp/portage/sys-libs/glibc-2.27-r6/homedir'
 * S: '/var/tmp/portage/sys-libs/glibc-2.27-r6/work/glibc-2.27'

Code:

emerge --info '=sys-libs/glibc-2.27-r6::gentoo'
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/gnome, gcc-5.4.0, unavailable, 4.5.2-aufs-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.5.2-aufs-r1-x86_64-AMD_Ryzen_7_1700_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    16374712 total,  10899140 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of repository gentoo: Sat, 24 Nov 2018 00:30:01 +0000
Head commit of repository gentoo: 5a205bfb45c4c238ff9d1f972beb1174bdfa2355
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.30-r4::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord consolekit crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell ssl startup-notification svg tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I did have a look at /etc/fstab, and everything appears to be in order:
Code:


#/dev/sda1      none             ntfs    users 0 0
/dev/sda2       /mnt/windows    ntfs3g  users 0 0

#/dev/sdb3      /mnt/ubuntu     none    users 0 0

/dev/sdc2       /mnt/oldwin     ntfs3g  users 0 0

/dev/sdd2   /boot        ext2    defaults,noatime     0 2
/dev/sdd3   none         swap    sw                   0 0
/dev/sdd4   /            ext4    noatime              0 1

/dev/cdrom  /mnt/cdrom   auto    noauto,user          0 0

Unless I've missed something, of course.

Thanks
Todd
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sat Nov 24, 2018 10:14 am    Post subject: Reply with quote

todd93,

What does
Code:
mount
say about /dev/pts ?
/dev/pts is not usually listed in /etc/fstab.

This is glibc refusing to spoil your day. If you are in a chroot, still installing, skip the emerge @world step until you can boot into your own kernel, then that should go away on its own.
If you really want to do the emerge @world now, use the --keep-going option. glibc will still fail but portage will update whatever it can. You can do glibc later.

Another word of warning. The default/linux/amd64/17.0/desktop/gnome profile demands that you use systemd, as Gnome depends on it.

There are two paths to get systemd. There is a systemd stage3. If you start there it avoids fhe openrc/systemd switch. That's documented on the wiki.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sat Nov 24, 2018 1:05 pm    Post subject: Reply with quote

NeddySeagoon,

Ok, that makes sense. I do have a question, however, before I go to redoing my stage3. I'm planning on using MATE instead of Gnome. Since MATE is a Gnome 2 fork, does it also depend on systemd? That's sort of a needless question, as it looks like I will probably have to start over with the stage3 install and get the right one.

Thanks

Todd
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sat Nov 24, 2018 1:26 pm    Post subject: Reply with quote

todd93,

MATE does not require systemd. For mate, choose the default/linux/amd64/17.0/desktop profile.

What does
Code:
emerge -pv eudev
tell you?
If you have systemd already, you will get a message about eudev being blocked. If not, you will have eudev installed already.
You can't have both at the same time.

If you already have eudev, fix your profile and continue your install. There is no need to start again.

More correctly and completely, there is never any need to start again. You can always get from where you are now to where you want to be. It may be faster in some situations to start over though.
There are a few commands that will destroy your Gentoo but you won't encounter them in normal use. I'm not posting them here.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sat Nov 24, 2018 1:53 pm    Post subject: Reply with quote

NeddySeagoon wrote:
todd93,

MATE does not require systemd. For mate, choose the default/linux/amd64/17.0/desktop profile.

What does
Code:
emerge -pv eudev
tell you?
If you have systemd already, you will get a message about eudev being blocked. If not, you will have eudev installed already.
You can't have both at the same time.

If you already have eudev, fix your profile and continue your install. There is no need to start again.

More correctly and completely, there is never any need to start again. You can always get from where you are now to where you want to be. It may be faster in some situations to start over though.
There are a few commands that will destroy your Gentoo but you won't encounter them in normal use. I'm not posting them here.


Very good, apparently I do have systemd already, as eudev has 28 blocks, having to do with x11-base/xorg-proto, or similar packages. Since I have systemd, do I need to choose the regular desktop profile still?

I get what you're saying, I wish I hadn't stayed away from Gentoo for so long, I always loved it. I stared back in the 90's when a friend of mine who I graduated HS with introduced me to Red Hat. He showed me a Linux-wide command that would do serious damage, however, I conveniently didn't learn it, he showed me as a lesson of why you should never run as root, always have a user account. Important lesson!

Thanks again!
Todd
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sat Nov 24, 2018 2:24 pm    Post subject: Reply with quote

todd93,

What you do now depends on your view of systemd. I'm going to start a systemd flamefest here if I'm not careful.

You can continue with systemd, since you already have it. Its reported to work but I've not tested it.
You can swap to openrc and everything that goes with it.
You can start over with the non systemd stage3

We have a The Politics of systemd Part 3 to discuss the merits of systemd.
Post there unless your post offers factual technical advice.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sat Nov 24, 2018 2:33 pm    Post subject: Reply with quote

NeddySeagoon,

Funny you should say that, I've used systemd in my previous Gentoo install, and I had nothing but trouble with it. Of course, I don't want to start a firestorm either, I just simply want to choose not to use it. I think I would like to start over with a non systemd stage3, if I can get far away from it, I would have a better experience, as I don't ever see myself going back to Gnome.

Thanks!

Todd
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sat Nov 24, 2018 4:15 pm    Post subject: Reply with quote

NeddySeagoon,

One more question, since I'm starting over with the proper stage3, I backed all the way out of the terminal, at what point in the installation guide should I start with the commands. My disks have been properly partitioned/formatted, now I have to get to the point of installing the stage3 tarball, but I'm not sure where in the guide to actually start.

Thanks

Todd
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sat Nov 24, 2018 4:20 pm    Post subject: Reply with quote

todd93,

If you are happy with your partitions, start with making filesystems. That's the easiest way to a 'clean' start.
You might want to save /etc/portage for reference, as you set up your new install. Don't try to use it as is.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sat Nov 24, 2018 4:30 pm    Post subject: Reply with quote

NeddySeagoon wrote:
todd93,

If you are happy with your partitions, start with making filesystems. That's the easiest way to a 'clean' start.
You might want to save /etc/portage for reference, as you set up your new install. Don't try to use it as is.


Okay, I know I'm being a pest, but when I start there, I get the following error:
Code:

bash: mkfs.ext2: command not found

I know this is probably simple, so forgive me if I missed something, as I'm confused as to how to get where I need to be in order to start here.

Thanks

Todd
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sat Nov 24, 2018 5:38 pm    Post subject: Reply with quote

todd93,

Boot your install media. Do not mount anything, then make your filesystems.
At that point, mount your root onto /mnt/gentoo and untar the stage3 to /mnt/gentoo.

You can't emerge anything until you have the stage3 and chrooted into it.
mkfs will refuse to destroy a file system in use, so even if you had it, you couldn't use it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sun Nov 25, 2018 1:07 pm    Post subject: Reply with quote

NeddySeagoon,

Ok, I'm rolling along pretty good, one question is: Do I need to use initramfs? I know it's not possible for you to know my hardware configuration, but I'm not sure if it's needed, or if I can boot/run without it. I am going to start with the genkernel until I can get refreshed on everything. That's where my problem was when I started this install, I didn't have something in my kernel configured properly and it wouldn't boot.

Thanks!
Todd
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sun Nov 25, 2018 1:24 pm    Post subject: Reply with quote

todd93,

If you build everything into the kernel to get as far as mounting the root filesystem, no initrd is needed.

When you need user space tools, like mdadm, lvm2, crypto etc, they must go in the initrd, since they are required before the kernel can even see the root filesystem to mount it to read user space tools, like mdadm, lvm2, crypto etc. The boot process has lots of infinite recursions like that that have to be broken.

As you say, you can bypass this particular learning opportunity by using genkernel to get started, then roll your own kernel at a convenient kernel update.
That will allow you to have two (or more) kernels in the bootloader menu. One that works, one providing your learning experience.
Its a verybadthing to overwrite your only working kernel as everyone makes a dud from time to time.

-- edit --

If you can boil the initrd down to user space tools only, it becomes kernel agnostic, so it almost never needs to be updated. My initrd is from 2009.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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