Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Changes to udev, kmod, devtmpfs, etc. - just reinstall?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jilly
n00b
n00b


Joined: 06 Feb 2011
Posts: 2

PostPosted: Sun May 05, 2013 2:13 am    Post subject: Changes to udev, kmod, devtmpfs, etc. - just reinstall? Reply with quote

I'll confess -- I've been running gentoo for years, but I tend not to keep my system up to date. This obviously causes problems when I want to install a new application, since the system will complain about 200 other updates it wants, or I'll have to jump through a bunch of hoops to get dependencies resolved, etc.

I'm usually pretty good at figuring out the dependency problems and blocks and other updates that have caused many problems over the years (the libxml and poppler updates come to mind), but with the recent changes and updates to udev, kmod, devtempfs, move to openrc, etc. and the number of problems that I've seen being reported, am I better off just doing a fresh re-install of the system? (Noting, of course, that the Handbook appears to be woefully out of date and does not account for many of these recent changes)

Right now
Quote:
emerge -upv world
returns:

Quote:
Total: 155 packages (122 upgrades, 29 new, 4 in new slots, 1 uninstall), Size of downloads: 1,120,731 kB
Conflict: 15 blocks (11 unsatisfied)


Portage also seems to be incredibly slow -- every time I run with the -p flag, the "calculating dependencies" exercise takes 3 to 4 minutes, even if it should have been cached.

(For those curious, the output of emerge --info is below)
Quote:

Portage 2.1.11.62 (default/linux/amd64/13.0, gcc-4.4.7, glibc-2.15-r2, 3.4.9-gentoo x86_64)
=================================================================
System uname: Linux-3.4.9-gentoo-x86_64-AMD_Phenom-tm-_9550_Quad-Core_Processor-with-gentoo-2.2
KiB Mem: 6114876 total, 3009912 free
KiB Swap: 2104476 total, 2104476 free
Timestamp of tree: Sat, 04 May 2013 19:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.9 [disabled]
app-shells/bash: 4.2_p45
dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.8, 2.7.3-r2, 3.1.5, 3.2.3
dev-util/ccache: 3.1.9
dev-util/cmake: 2.8.8-r4::x-portage
dev-util/pkgconfig: 0.27.1
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.3-r1
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.4_p6-r1, 1.5, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1, 1.12.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.1.2, 4.3.6-r1, 4.4.7, 4.5.4, 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.2.10
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.mcs.anl.gov/pub/gentoo/ http://lug.mtu.edu/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac acl acpi afs aim alsa amd64 avahi bash-completion berkdb bzip2 cdr cjk cli cracklib crypt css cups curl cxx dbus dri dvd dvdr encode exif ffmpeg flac foomaticdb fortran ftp gdbm gif gimp gpm gtk iconv ieee1394 imagemagick ipv6 jabber jpeg kerberos mdnsresponder-compat mime mmx modules mpeg mplayer mudflap multilib ncurses nls nptl ogg opengl openmp pam pcre pdf png readline session socks5 spell sse sse2 ssl svg tcpd tiff truetype unicode usb vnc vorbis xcomposite xine xinerama xvid zeroconf 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev wacom" 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-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1269

PostPosted: Sun May 05, 2013 2:37 am    Post subject: Re: Changes to udev, kmod, devtmpfs, etc. - just reinstall? Reply with quote

jilly wrote:
...move to openrc...


The move to openRC was over a year ago. For any system that old, a reinstall would be much better. You may be able to update, but I wouldn't bet on an easy path. The handbook is also not out of date. There are no major changes. The new changes in udev, kmod, and devtempfs where actually quite painless and invisible if you where rolling with them. The only reason that you are noticing them is because you system is so far out of date.

The guides for updating to baselayout 2 are online, and you will have problems with GCC and glibc. I do believe that a reinstall would be faster.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2354
Location: Austria

PostPosted: Sun May 05, 2013 7:45 am    Post subject: Reply with quote

Well, 155 packages ain't that bad, and resolving the blockers is just a matter of deciphering what portage is trying to tell you, then upgrading a few single packages with emerge --oneshot to resolve the blocks.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
jilly
n00b
n00b


Joined: 06 Feb 2011
Posts: 2

PostPosted: Sun May 05, 2013 2:57 pm    Post subject: Reply with quote

genstorm wrote:
Well, 155 packages ain't that bad, and resolving the blockers is just a matter of deciphering what portage is trying to tell you, then upgrading a few single packages with emerge --oneshot to resolve the blocks.


It's not that many, but the vast majority won't compile or install due to various errors, even if I do it with --nodeps, which claims to have no blocks. The biggest block issue appears to be the kmod/mod-utils one, but even with --oneshot, kmod won't install because it claims there are file conflicts.
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2354
Location: Austria

PostPosted: Sun May 05, 2013 3:48 pm    Post subject: Reply with quote

Of course there won't be blocks with --nodeps. :D

kmod I suspect would build after 'emerge -C module-init-tools'

Anyway, this is hard to give-remote-advice for.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
elmar283
Apprentice
Apprentice


Joined: 06 Dec 2004
Posts: 175
Location: Netherlands

PostPosted: Tue May 07, 2013 5:42 pm    Post subject: Reply with quote

The kmod and module-init-tools sollution can be foundation here: https://forums.gentoo.org/viewtopic-t-950084-start-0.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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