:: Re: [devuan-dev] python lib error
Forside
Slet denne besked
Besvar denne besked
Skribent: Kees Schoenmakers
Dato:  
Til: devuan developers internal list
Emne: Re: [devuan-dev] python lib error
Gents,

I believe I made some mistake here...... After installation of
Devuan I reconstructed /usr/local because I have a lot of handy and
useful software there.
By doing that I untarred my _previous_ /usr/local. That _had_ a
previous python2.7 library tree as one of you spotted very accurate.
So I moved the old /usr/local/lib/python2.7 out
of the way.

I have re-installed all packages that are for python and python
support like libraries, pip etc.

Sorry for that.

One success story [off-topic] though:

The main reason to install Devuan is that I wanted my freedom back, I
used Debian and Kubuntu before but I got fed up with systemd and it's
ugly tentacles into the system.
For one, I had 2 network card aliases on my primary interface for
different networks
but could create only one, all with ugly names. Now it works as _I_ want!

The orginal X-server that comes with Devuan 2:2.21.15-2+b2 refused to
provide dual head with my hardware. I moved /usr/bin/Xorg,
/usr/lib/xorg and xorg.conf out of the way.
I took /usr/lib/xorg, usr/bin/Xorg and libXfont2.so.2.0.0,
libwacom.so.2.5.0 and libinput.so.10.11.5 from the lastest
Kubuntu17.04 version, prayed that I would not stumble on systemd
dependencies and Eureka my dualhead came to life again.
VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)

It may be advisable to run update_pciids as part of the installation
process. Before I found this tool the pci information was scarce and
of little information.

Thank you all for the support, I will be more careful next time
Thank all that made Devuan came to life!!!



On 8/7/17, Aldemir Akpinar <aldemir.akpinar@???> wrote:
> On 7 August 2017 at 12:41, Kees Schoenmakers <kslinux@???> wrote:
>
>> Hello,
>>
>> cat /etc/apt/apt.conf
>> cat: /etc/apt/apt.conf: No such file or directory
>>
>> cat /etc/apt/sources.list
>> # deb cdrom:[Debian GNU/Linux 1.0-final _Jessie_ - Official i386
>> NETINST Binary-1 20170522-03:38]/ jessie main non-free
>>
>> #deb cdrom:[Debian GNU/Linux 1.0-final _Jessie_ - Official i386
>> NETINST Binary-1 20170522-03:38]/ jessie main non-free
>>
>> deb http://nl.mirror.devuan.org/merged/ jessie main
>> deb-src http://nl.mirror.devuan.org/merged/ jessie main
>>
>> # jessie-security, previously known as 'volatile'
>> deb http://nl.mirror.devuan.org/merged/ jessie-security main non-free
>> deb-src http://nl.mirror.devuan.org/merged/ jessie-security main non-free
>>
>> # jessie-updates, previously known as 'volatile'
>> deb http://nl.mirror.devuan.org/merged/ jessie-updates main non-free
>> deb-src http://nl.mirror.devuan.org/merged/ jessie-updates main non-free
>>
>> deb http://auto.mirror.devuan.org/merged jessie-backports main
>>
>>  dpkg -l libc6
>> Desired=Unknown/Install/Remove/Purge/Hold
>> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/
>> trig-aWait/Trig-pend
>> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>> ||/ Name                    Version          Architecture     Description
>> +++-=======================-================-===============
>> =-===================================================
>> ii  libc6:i386              2.19-18+deb8u10  i386             GNU C
>> Library: Shared libraries

>>
>>  dpkg -l linux-image*
>> Desired=Unknown/Install/Remove/Purge/Hold
>> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/
>> trig-aWait/Trig-pend
>> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>> ||/ Name                    Version          Architecture     Description
>> +++-=======================-================-===============
>> =-===================================================
>> un  linux-image             <none>           <none>           (no
>> description available)
>> ii  linux-image-3.16.0-4-68 3.16.43-2+deb8u2 i386             Linux
>> 3.16 for modern PCs
>> ii  linux-image-686-pae     3.16+63          i386             Linux
>> for modern PCs (meta-package)

>>
>> But I run the 4.9 kernel...
>>
>> regards
>>
>> Kees
>>
>
> Ok Now I've just realized matplotlib was installed from source (hence it's
> under /usr/loca). Could you remove those from pythonpath and install the
> package version of it?
>
> apt-get install python-matplotlib
>