I am attempting to install mesa 10 to a linux debian wheezy on an ivy bridge computer. To do so i need to update libdrm.
I followed these instructions:
http://www.linuxfromscratch.org/blfs/view/svn/x/libdrm.html
I have successfully built the package but checkinstall fails with the following error:
(Reading database ... 201946 files and directories currently installed.)
Unpacking libdrm (from .../libdrm_2.4.60-1_amd64.deb) ...
dpkg: error processing /home/dapper/Downloads/libdrm/libdrm-2.4.60/libdrm_2.4.60-1_amd64.deb (--install):
trying to overwrite '/usr/include/xf86drmMode.h', which is also in package libdrm-dev 2.4.40-1~deb7u2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/home/dapper/Downloads/libdrm/libdrm-2.4.60/libdrm_2.4.60-1_amd64.deb
/var/tmp/tmp.PmSU0v8QiA/dpkginstall.log
I am not totally new to linux, but I'm not sure how to get around this issue.
Related
I am following the instructions here to run the C++ connection code example on AstraDB. However, I could not install the Casandra driver package. I got an error message about "multiarch-support is not installed".
Platform details: Ubuntu 22.04 (latest update), Cansandra driver 2.16.0.
Here is the command and the detailed output:
sudo dpkg -i cassandra-cpp-driver_2.16.0-1_amd64.deb
dpkg: regarding cassandra-cpp-driver_2.16.0-1_amd64.deb containing cassandra-cpp-driver, pre-
dependency problem:
cassandra-cpp-driver pre-depends on multiarch-support multiarch-support is not installed.
So I tried to install binutils-multiarch for Ubuntu 22.04 but it did not work (same error).
Did I miss any steps?
I noticed that the Casandra download page only shows driver packages up to Ubuntu 18.04.
Do you have the latest build for Ubuntu 22.04?
Thanks very much for any help.
UPDATE:
I just noticed this post about the same issue and the reported resolution was to use Cassandra driver 2.16.2. When I tried that, I got a different error message about a required libssl is not installed.
I checked my system and it has libssl3. The error message points to libssl1.1 or above. So, why did it not work?
Here is the command output:
sudo dpkg -i cassandra-cpp-driver_2.16.2-1_amd64.deb
Selecting previously unselected package cassandra-cpp-driver.
(Reading database ... 354331 files and directories currently installed.)
Preparing to unpack cassandra-cpp-driver_2.16.2-1_amd64.deb ...
Unpacking cassandra-cpp-driver (2.16.2-1) ...
dpkg: dependency problems prevent configuration of cassandra-cpp-driver:
cassandra-cpp-driver depends on libssl1.1 (>= 1.1.0); however:
Package libssl1.1 is not installed.
And here is my libssl3 in the system:
apt search libssl
...(omitted)...
libssl3/jammy-updates,jammy-security,now 3.0.2-0ubuntu1.6 amd64 [installed]
Secure Sockets Layer toolkit - shared libraries
...(omitted)...
Every time I tries to install something on Ubuntu using sudo apt-get install ..., it shows like that:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libwebkit2gtk-4.0-37 : Depends: libjavascriptcoregtk-4.0-18 (= 2.32.3-0ubuntu0.18.04.1) but 2.32.4-0ubuntu0.18.04.1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
First I tried to sudo apt-get install libwebkit2gtk-4.0-37, it shows like that:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libexiv2-14 libgee-0.8-2 libgexiv2-2 libraw16 linux-hwe-5.4-headers-5.4.0-66
linux-hwe-5.4-headers-5.4.0-67 linux-hwe-5.4-headers-5.4.0-73
linux-hwe-5.4-headers-5.4.0-74 shotwell-common
Use 'sudo apt autoremove' to remove them.
Suggested packages:
libwebkit2gtk-4.0-37-gtk2
The following packages will be upgraded:
libwebkit2gtk-4.0-37
1 upgraded, 0 newly installed, 0 to remove and 206 not upgraded.
43 not fully installed or removed.
Need to get 0 B/13.4 MB of archives.
After this operation, 81.9 kB of additional disk space will be used.
dpkg: warning: files list file for package 'fonts-sil-abyssinica' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libatk-adaptor:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libvorbisfile3:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libquadmath0:amd64' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxkbfile1:amd64' missing; assuming package has no files currently installed
<ignoring for a long long list>
Preparing to unpack .../libwebkit2gtk-4.0-37_2.32.4-0ubuntu0.18.04.1_amd64.deb ...
Unpacking libwebkit2gtk-4.0-37:amd64 (2.32.4-0ubuntu0.18.04.1) over (2.32.3-0ubuntu0.18.04.1) ...
dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libwebkit2gtk-4.0-37_2.32.4-0ubuntu0.18.04.1_amd64.deb (--unpack):
cannot copy extracted data for './usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37.53.5' to '/usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37.53.5.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
/var/cache/apt/archives/libwebkit2gtk-4.0-37_2.32.4-0ubuntu0.18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Then I thought that since it says but 2.32.4-0ubuntu0.18.04.1 is to be installed, so I tries uninstalling it using sudo apt-get purge 2.32.4-0ubuntu0.18.04.1, and things goes like that: (I don't know what the 2.32.4-0ubuntu0.18.04.1 means)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package 2.32.4-0ubuntu0.18.04.1
E: Couldn't find any package by glob '2.32.4-0ubuntu0.18.04.1'
E: Couldn't find any package by regex '2.32.4-0ubuntu0.18.04.1'
And I tried sudo apt --fix-broken install, but it still doesn't works. The error messages are the same as that when I run sudo apt-get install libwebkit2gtk-4.0-37.
Could someone help me out? Any reply is in fervent anticipation.
Platform: x64, Ubuntu 18.04 LTS
ssh: Could not resolve hostname slack-master: Name or service not known
rsync: did not see server greeting
rsync error: error starting client-server protocol (code 5) at main.c(1653) [Receiver=3.1.0]
FATAL[slack-getroles]: 'rsync --links --times -e ssh slack-master::slack/etc/roles.conf /var/cache/slack/_role_list' exited 5 at /usr/lib/slack/slack-getroles line 158.
FATAL[slack]: '/usr/lib/slack/slack-getroles' exited 5 at /usr/sbin/slack line 205.
I suspect, this problem has occured from the time I have installed the anaconda package of python. The following steps helped me to resolve the issue.
Step 1: Restart the machine
Step 2: $ sudo apt-get remove slack
Step 3: Download the latest version of slack from Slack website (Find the latest package here - https://slack.com/):
$ wget https://downloads.slack-edge.com/linux_releases/slack-desktop-2.9.0-amd64.deb
Step 4: $ Install the downloaded package using the dpkg utility:
sudo dpkg -i slack-desktop-2.9.0-amd64.deb
In step 4, we will witness the following error:
$ sudo dpkg -i slack-desktop-2.9.0-amd64.deb
(Reading database ... 215272 files and directories currently installed.)
Preparing to unpack slack-desktop-2.9.0-amd64.deb ...
Unpacking slack-desktop (2.9.0) over (2.9.0) ...
dpkg: dependency problems prevent configuration of slack-desktop:
slack-desktop depends on python; however:
Package python is not installed.
dpkg: error processing package slack-desktop (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Errors were encountered while processing:
slack-desktop
$
To fix this problem: in step 5
Step 5: Install the missing dependencies using: sudo apt-get install -f
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
python python2.7
Suggested packages:
python-doc python-tk python2.7-doc
The following NEW packages will be installed:
python python2.7
0 upgraded, 2 newly installed, 0 to remove and 125 not upgraded.
1 not fully installed or removed.
Need to get 361 kB of archives.
After this operation, 1,009 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7 amd64 2.7.12-1ubuntu0~16.04.1 [224 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python amd64 2.7.11-1 [137 kB]
Fetched 361 kB in 0s (384 kB/s)
Selecting previously unselected package python2.7.
(Reading database ... 215272 files and directories currently installed.)
Preparing to unpack .../python2.7_2.7.12-1ubuntu0~16.04.1_amd64.deb ...
Unpacking python2.7 (2.7.12-1ubuntu0~16.04.1) ...
Selecting previously unselected package python.
Preparing to unpack .../python_2.7.11-1_amd64.deb ...
Unpacking python (2.7.11-1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 added doc-base file...
Setting up python2.7 (2.7.12-1ubuntu0~16.04.1) ...
Setting up python (2.7.11-1) ...
Setting up slack-desktop (2.9.0) ...
$
I assume you're interested in the slack of https://slack.com. Don't install it through sudo apt install slack: this is another package (if you're interested in this other mysterious slack package, run apt show slack).
To install the slack of https://slack.com, follow the instructions on their website. At the moment, a convenient way is sudo snap install slack --classic, perhaps preceded by sudo apt install snap.
(don't forget to sudo apt remove slack...)
For me All my programs fail if installed through the Ubuntu app store. If I go to the website and manually install their software from their links then everything works fine.
Doing this fixed this exact issue for me for slack. Just went to the slack site and downloaded the .deb file
I had the same issue. Even downloading the slack .deb file from Slack failed.
I tried sudo apt reinstall slack etc but did not work.
SOLUTION: https://snapcraft.io/slack
sudo snap install slack --classic
This solved it for me even while it was still in a "broken" state.
said#said:~$ sudo rm /usr/sbin/slack
said#said:~$ sudo ln -s /usr/lib/slack/slack /usr/sbin/slack
said#said:~$ slack
I have build LFS 8.0 and prepared a base linux system. I am installing package manager on that system. I have installed dpkg from a source package in it. After installing dpkg when i try to install any .deb package it throws an error along with the list of several dependencies. Among them also their are some dependencies related to gcc and glibc. Althought they are already installed in my LFS system. Have searched alot regarding this but could not find any helping material that why the package could not find its pre-req package even its already installed.
For example when i try to install zlib1g_1.2.8.dfsg-5_amd64.deb in lfs system, below mentioned error appears:
{
root [ /sources ]# dpkg -i zlib1g_1.2.8.dfsg-5_amd64.deb
Selecting previously unselected package zlib1g:amd64.
(Reading database ... 348 files and directories currently installed.)
Preparing to unpack zlib1g_1.2.8.dfsg-5_amd64.deb ...
Unpacking zlib1g:amd64 (1:1.2.8.dfsg-5) ...
dpkg: dependency problems prevent configuration of zlib1g:amd64:
zlib1g:amd64 depends on libc6 (>= 2.14); however:
Package libc6 is not installed.
dpkg: error processing package zlib1g:amd64 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
zlib1g:amd64
}
Note: I have installed only dpkg. apt-get is not installed.
Any helping material regarding this is much appreciated.
Thanks
Though those libraries may be present on your system, they are not installed as deb packages and for dpkg they are missing. If you want to use dpkg, you will have to install all of those libraries as debs.
recently I UNinstalled OpenJDK and installed Oracle JDK 1.6 on my Linux Mint 16 Device, using this description:_
http://community.linuxmint.com/tutorial/view/1372
But today I've recognized that my messenger jitsi disappeared. It seems it's depending on the OpenJDK but I don't believe that it is imposible to run it with the original Oracle JDK which is the one and only JDK for me.
Trying to install jitsi with
dpkg -i jitsi_2.5.5065-1_amd64.deb
results into this error:
(Reading database ... 171948 files and directories currently installed.)
Preparing to replace jitsi 2.5.5065-1 (using jitsi_2.5.5065-1_amd64.deb) ...
Unpacking replacement jitsi ...
dpkg: dependency problems prevent configuration of jitsi:
jitsi depends on default-jre | java6-runtime; however:
Package default-jre is not installed.
Package java6-runtime is not installed.
dpkg: error processing jitsi (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for mime-support ...
Processing triggers for menu ...
Errors were encountered while processing:
jitsi
If i try to install it with
sudo apt-get install -f
Then my system wants to reinstall OpenJDK-7. But I don't want to have this sh** OpenJDK on my device.
I tried to tell the system now to use only Oracle JDK 1.6, regarding the hints on this page:
https://askubuntu.com/questions/56104/how-can-i-install-sun-oracles-proprietary-java-jdk-6-7-8-or-jre
But it didn't help me. So how can I use jitsi withouth reinstalling OpenJDK?
Thanks+Regards
You can use Jitsi Generic Installer, which just needs Java, and doesn't check for any dependencies.
Here is the link: https://download.jitsi.org/jitsi/generic/