LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Major issues after upgrade (https://www.linuxquestions.org/questions/slackware-14/major-issues-after-upgrade-842361/)

SeRi@lDiE 11-04-2010 12:45 PM

Major issues after upgrade
 
Hello All,

After an upgrade yesterday my whole system broke... little by little I have been able to bring it back up. The major issue I have right now is that I am unable to install the nvidia drivers. It complains that there is no gcc libc devel packages installed... It also complains that the kernel source is not installed... Which they are.... Any ideas whats going on?

I also notice that my KDE went from 4.4 to 4.5 and a lot of the applications are broken like digikam complains that some lib are missing... something like "libmarble" or something like that....

I am running Slackware 13.1

Any help would be appreciated.

Thanks!

manwichmakesameal 11-04-2010 12:48 PM

What exactly did you upgrade? You need to be more specific with the "complaints" that it's giving you.

SeRi@lDiE 11-04-2010 12:57 PM

Thanks for the help.

I did a slapt-get --upgrade and let the system upgrade everything except for the kernel.
After the system came back up it complaint that GLX was unable to load as per the nvidia log. Than I try to reinstall the nvidia driver and it complains that nvidia is unable to continue because there is no gcc development and libc development packege installed. It also complain that the kernel source is not present. So it can not build the modules...

Here is the warning I get..

The C compiler 'cc' does not appear to be able to
create executables. Please make sure you have
your Linux distribution's gcc and libc development
packages installed.

manwichmakesameal 11-04-2010 01:00 PM

Does slapt-get have any kind of log that will tell you what all it installed?
edit: You may want to try using slackpkg to fix your system. Try doing:
Code:

# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all

and see if it helps. Try just the first 2 first, then if you have any updates try installing them.

SeRi@lDiE 11-04-2010 01:01 PM

Also wanted to mention that the application errors for me are not priority my priority is to get rendering to work properly again if possible.

Thank you all for the help!

SeRi@lDiE 11-04-2010 01:02 PM

Quote:

Originally Posted by manwichmakesameal (Post 4149296)
Does slapt-get have any kind of log that will tell you what all it installed?

Mhhh I think it does.

I have to get to it....

Give me about 1hr and ill post it.

Thanks!

tramni1980 11-04-2010 01:42 PM

You should upgrade your system following the instructions in the UPGRADE.TXT file on the installation CD. This is the officially supported upgrade and a guarantee that everything will be all right.

SeRi@lDiE 11-04-2010 02:23 PM

Quote:

Originally Posted by tramni1980 (Post 4149345)
You should upgrade your system following the instructions in the UPGRADE.TXT file on the installation CD. This is the officially supported upgrade and a guarantee that everything will be all right.

Well I was not trying to upgrade my OS just upgrading the pkgs.
Best practice is to keep up to date.
At this rate I think this is the last time I do a pkg upgrade to anything in my slackware OS....

tramni1980 11-04-2010 02:42 PM

Quote:

Originally Posted by SeRi@lDiE (Post 4149387)
Well I was not trying to upgrade my OS just upgrading the pkgs.
Best practice is to keep up to date.
At this rate I think this is the last time I do a pkg upgrade to anything in my slackware OS....

For the regular updates my advice is to use the slackpkg tool that is included with stock Slackware. It is simple to use and I have had no issues with it so far. Using stock packages is always better than resorting to third-party tools. Do not blame Slackware for something that went wrong due to third-party tools!

SeRi@lDiE 11-04-2010 04:49 PM

Here is teh exact error I get from nvidia...


Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 195.36.24.
-> There appears to already be a driver installed on your system (version: 195.
36.24). As part of installing this driver (version: 195.36.24), the existin
g driver will be uninstalled. Are you sure you want to continue? ('no' will
abort installation) (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:

Alien Bob 11-04-2010 04:56 PM

Quote:

Originally Posted by SeRi@lDiE (Post 4149276)
I also notice that my KDE went from 4.4 to 4.5

...

I am running Slackware 13.1

... not anymore! I do not think it was your intention, but apparently slapt-get upgraded your Slackware 13.1 to slackware-current, which is the development version of Slackware (13.1 is the most recent stable release).
And it did a less-than-perfect job too. Your gcc issues are probably caused by a missing package (between 13.1 and -current some packages were added to Slackware).

Do you have a libelf package installed? Running this command should reveal one package:
Code:

ls -la /var/log/packages/libelf*
If not, download the package from a Slackware mirror (it is in the "L" series) or ask slapt-get to install it.

Eric

SeRi@lDiE 11-04-2010 05:05 PM

Eric,

You nailed it!
You are right it did bump me to current and is whats causing my issues. I wonder how the hell the repo got enabled... Must have been my kids...

As per your instructions...

root@darken:/home/darken/Downloads/nvidia/nvidia-kernel# ls -la /var/log/packages/libelf*
/bin/ls: cannot access /var/log/packages/libelf*: No such file or directory

My next step is to install the package and see if I can get this all sort it out.

Will report back.

TIA!

SeRi@lDiE 11-04-2010 05:09 PM

ok I got it installed.


root@darken:/home/darken/Downloads/nvidia/nvidia-kernel# ls -la /var/log/packages/libelf*
-rw-r--r-- 1 root root 1247 2010-11-04 17:09 /var/log/packages/libelf-0.8.13-i486-1


Will try now.

SeRi@lDiE 11-04-2010 05:18 PM

Eric,

I try the install again and it failed with the same issue.
Am I in darkness here? am I going to have to re install from scratch?
so far nothing wants to compile

Alien Bob 11-04-2010 05:28 PM

Well, another package was added in -current after Slackware 13.1 was released, which is also required by gcc: libmpc (also found in the "L" series). You will probably not have that one, either.
By now I hope you have realized that your conversion to -current is incomplete, and that slapt-get upgraded a whole lot, but failed to install new packages... there are a few more than the two I already mentioned.
Check the Slackware-current ChangeLog.txt for anything you are missing, or better even: configure the file /etc/slackpkg/mirrors with exactly one slackware-current mirror (a 32-bit one, not a 64-bit one, I assume you are not running 64-bit Slackware). Then run "slackpkg update; slackpkg install-new" and let slackpkg find and install the package you're still missing.

Eric


All times are GMT -5. The time now is 03:46 PM.