Recent Problems: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
Tgurr (talk | contribs)
mNo edit summary
Line 3: Line 3:
= 2009 =
= 2009 =
== Using 10.0 profile and x11-libs/libxcb upgrade ==
== Using 10.0 profile and x11-libs/libxcb upgrade ==
Be sure to run reconcilio/revdep-rebuild afterwards, in my case a total of 66 packaged needed a rebuild.
Be sure to run revdep-rebuild afterwards, in my case a total of 66 packaged needed a rebuild.


{{Codeline|# reconcilio}}
{{Root|revdep-rebuild}}


== Portage preserve-libs feature and e2fsprogs/util-linux upgrade ==
== Portage preserve-libs feature and e2fsprogs/util-linux upgrade ==
Portage keeps complaining about preserved libs, even after multiple runs of emerge @preserved-rebuild.
Portage keeps complaining about preserved libs, even after multiple runs of emerge @preserved-rebuild.


{{Codeline|# emerge @preserved-rebuild}}
{{Root|emerge @preserved-rebuild}}


{{Codeline|# rm /lib/libuuid*}}
{{Root|rm /lib/libuuid*}}


{{Codeline|# rm /lib/libblkid*}}
{{Root|rm /lib/libblkid*}}


{{Codeline|# emerge util-linux --oneshot}}
{{Root|emerge util-linux --oneshot}}


== Warning notice about broken symlinks during upgrade of app-misc/ca-certificates ==
== Warning notice about broken symlinks during upgrade of app-misc/ca-certificates ==
{{Box Code|Error message|
{{Code|Error message|
<pre>
<pre>
  * Broken symlink for a certificate at /etc/ssl/certs/class3.pem
  * Broken symlink for a certificate at /etc/ssl/certs/class3.pem
Line 34: Line 34:
Do as you've been told and run:
Do as you've been told and run:


{{Codeline|# find -L /etc/ssl/certs/ -type l -exec rm {} +}}
{{Root|find -L /etc/ssl/certs/ -type l -exec rm {} +}}


{{Codeline|# emerge ca-certificates --oneshot}}
{{Root|emerge ca-certificates --oneshot}}


= 2007 =
= 2007 =
== bash error message ==
== bash error message ==
{{Box Code|Error message|
{{Code|Error message|
<pre>
<pre>
>>> No outdated packages were found on your system.
>>> No outdated packages were found on your system.
Line 51: Line 51:
bashref.info.gz was replaced by a tar.bz2 version bashref.info.bz2, thus you can safely delete the older symlink.
bashref.info.gz was replaced by a tar.bz2 version bashref.info.bz2, thus you can safely delete the older symlink.


{{Codeline|# rm /usr/share/info/bashref.info.gz}}
{{Root|rm /usr/share/info/bashref.info.gz}}


== Emerge: error: C compiler cannot create executables ==
== Emerge: error: C compiler cannot create executables ==
z.B.: Beim Emergen von sys-apps/sandbox
z.B.: Beim Emergen von sys-apps/sandbox
{{Box Code|Error message|
{{Code|Error message|
<pre>
<pre>
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
Line 88: Line 88:
</pre>
</pre>


{{Codeline|# gcc-config -l}}
{{Root|gcc-config -l}}


{{Codeline|# gcc-config <most recent gcc version>}}
{{Root|gcc-config <most recent gcc version>}}


{{Codeline|# source /etc/profile}}
{{Root|source /etc/profile}}




== avahi-daemon not able to start ==
== avahi-daemon not able to start ==
{{Box Code|Error message|
{{Code|Error message|
<pre>
<pre>
  * Caching service dependencies ...          [ ok ]
  * Caching service dependencies ...          [ ok ]
Line 105: Line 105:
}}
}}


{{Codeline|# avahi-daemon}}
{{Root|avahi-daemon}}


cap_set_proc() failed: Operation not permitted
cap_set_proc() failed: Operation not permitted

Revision as of 17:14, 13 January 2011

Listed are issues which need your attention and manual fixing.

2009

Using 10.0 profile and x11-libs/libxcb upgrade

Be sure to run revdep-rebuild afterwards, in my case a total of 66 packaged needed a rebuild.

# revdep-rebuild

Portage preserve-libs feature and e2fsprogs/util-linux upgrade

Portage keeps complaining about preserved libs, even after multiple runs of emerge @preserved-rebuild.

# emerge @preserved-rebuild
# rm /lib/libuuid*
# rm /lib/libblkid*
# emerge util-linux --oneshot

Warning notice about broken symlinks during upgrade of app-misc/ca-certificates

Code: Error message
 * Broken symlink for a certificate at /etc/ssl/certs/class3.pem
 * Broken symlink for a certificate at /etc/ssl/certs/root.pem
 * Broken symlink for a certificate at /etc/ssl/certs/UTN_USERFirst_Object_Root_CA.pem
 * Broken symlink for a certificate at /etc/ssl/certs/QuoVadis_Root_Certification_Authority.pem
 * You MUST remove the above broken symlinks
 * Otherwise any SSL validation that use the directory may fail!
 * To batch-remove them, run:
 * find -L /etc/ssl/certs/ -type l -exec rm {} +

Do as you've been told and run:

# find -L /etc/ssl/certs/ -type l -exec rm {} +
# emerge ca-certificates --oneshot

2007

bash error message

Code: Error message
>>> No outdated packages were found on your system.
 * Regenerating GNU info directory index...
 * Processed 87 info files; 1 errors.
install-info: No such file or directory for /usr/share/info/bashref.info.gz

bashref.info.gz was replaced by a tar.bz2 version bashref.info.bz2, thus you can safely delete the older symlink.

# rm /usr/share/info/bashref.info.gz

Emerge: error: C compiler cannot create executables

z.B.: Beim Emergen von sys-apps/sandbox

Code: Error message
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.

This problem arises if you've once had eselect-compiler installed on your system. It was buggy and has been deprecated for now (use gcc-config). You can solve this issue by manually removing all left over files created by eselect-compiler. To identify all of them:

host ~ # find /usr/bin | xargs strings -f 2> /dev/null | grep "Unable to determine executable" | cut -d : -f 1
/usr/bin/gccbug
/usr/bin/x86_64-pc-linux-gnu-gcov
/usr/bin/x86_64-pc-linux-gnu-gccbug
/usr/bin/gcov
/usr/bin/protoize
/usr/bin/unprotoize
/usr/bin/i686-pc-linux-gnu-gfortran
/usr/bin/i686-pc-linux-gnu-gccbug
/usr/bin/i686-pc-linux-gnu-gcov
/usr/bin/i686-pc-linux-gnu-protoize
/usr/bin/i686-pc-linux-gnu-unprotoize
/usr/bin/i686-pc-linux-gnu-c++
/usr/bin/i686-pc-linux-gnu-cpp
/usr/bin/i686-pc-linux-gnu-g++
/usr/bin/i686-pc-linux-gnu-gcc
/usr/bin/i686-pc-linux-gnu-cc
/usr/bin/x86_64-pc-linux-gnu-protoize
/usr/bin/x86_64-pc-linux-gnu-unprotoize
# gcc-config -l
# gcc-config <most recent gcc version>
# source /etc/profile


avahi-daemon not able to start

Code: Error message
 * Caching service dependencies ...          [ ok ]
 * Starting avahi-daemon ...                 [ !! ]
Timeout reached while wating for return value
Could not receive return value from daemon process.
# avahi-daemon

cap_set_proc() failed: Operation not permitted

You need to enable following kernel option.

Security options
 [*] Enable different security models
<*>    Default Linux Capabilityies

KDE: When inserting a CD nothing happens

If you still own a ATA/IDE CD/DVD-ROM drive you need to enable the "legacy /proc/ide/ support" kernel option.