Try dpkg -i force-overwrite libxcursor-dev_1.0.2-2_i386.deb and that should let you install other applications.Originally Posted by lavaman094
Somehow I got a broken dependency....I thought apt wouldn't let that happen...but somehow I guess it did....so it says so "apt-get install -f"....and I did....and it says:
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libxcursor-dev (1.0.2-2)
The following NEW packages will be installed:
libxcursor-dev (1.0.2-2)
0 upgraded, 1 newly installed, 0 to remove and 80 not upgraded.
7 not fully installed or removed.
Need to get 0B/27.3kB of archives.
After unpacking 135kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 113340 files and directories currently installed.)
Unpacking libxcursor-dev (from .../libxcursor-dev_1.0.2-2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxcursor-dev_1.0.2-2_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/include/X11/Xcursor/Xcursor.h', which is also in package xlibs-dev
Errors were encountered while processing:
/var/cache/apt/archives/libxcursor-dev_1.0.2-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So here I am still stuck with this broken dependency. I can't run apt-get upgrade to upgrade any packages it seems until this is fixed....does anybody know what the problem is?
Try dpkg -i force-overwrite libxcursor-dev_1.0.2-2_i386.deb and that should let you install other applications.Originally Posted by lavaman094
No luck:Try dpkg -i force-overwrite libxcursor-dev_1.0.2-2_i386.deb and that should let you install other applications.
root@Harkonnen:~# dpkg -i force-overwrite libxcursor-dev_1.0.2-2_i386.deb
dpkg: error processing force-overwrite (--install):
cannot access archive: No such file or directory
dpkg: error processing libxcursor-dev_1.0.2-2_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
force-overwrite
libxcursor-dev_1.0.2-2_i386.deb
You would have to cd /var/cache/apt/archives/ first to be in the actual directory where the file is sorry should have been clearer in the instructions.Originally Posted by lavaman094
That, I also tried, but it errors:You would have to cd /var/cache/apt/archives/ first to be in the actual directory where the file is sorry should have been clearer in the instructions.
root@Harkonnen:/var/cache/apt/archives# dpkg -i force-overwrite libxcursor-dev_1.0.2-2_i386.deb
dpkg: error processing force-overwrite (--install):
cannot access archive: No such file or directory
(Reading database ... 113340 files and directories currently installed.)
Unpacking libxcursor-dev (from libxcursor-dev_1.0.2-2_i386.deb) ...
dpkg: error processing libxcursor-dev_1.0.2-2_i386.deb (--install):
trying to overwrite `/usr/X11R6/include/X11/Xcursor/Xcursor.h', which is also in package xlibs-dev
Errors were encountered while processing:
force-overwrite
libxcursor-dev_1.0.2-2_i386.deb
That's weird check if the file is in the cache directory if not you should go to http://packages.debian.org and download the package to the archives directory and install it.
OK, i downloaded it and it autoopened with Kpackage and I selected install, and I got an error which looks pretty much like the same error I've been getting before:Originally Posted by Stephen
(Reading database ... 113340 files and directories currently installed.)
Unpacking libxcursor-dev (from .../libxcursor-dev_1.0.2-2_i386.deb) ...
dpkg: error processing //tmp/libxcursor-dev_1.0.2-2_i386.deb (--install):
trying to overwrite `/usr/X11R6/include/X11/Xcursor/Xcursor.h', which is also in package xlibs-dev
Errors were encountered while processing:
//tmp/libxcursor-dev_1.0.2-2_i386.deb
and the file is in the "/var/apt/cache/archives" directory.
Right click and use save as to save the package on the HD then move the package to the cache directory and try to install from there I have never used kpackage but I would image it is not trying to force an overwrite it is just trying to install normally.Originally Posted by lavaman094
Thanks for trying to help me. I did that, and put the file in /var/cache/apt/archives. I then did "apt-get -f install", but got the same error. I'm thinking the problem doesn't have to do with the package and has to do with "/usr/X11R6/include/X11/Xcursor/Xcursor.h'".Right click and use save as to save the package on the HD then move the package to the cache directory and try to install from there I have never used kpackage but I would image it is not trying to force an overwrite it is just trying to install normally.
apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
libxcursor-dev (1.0.2-2)
The following NEW packages will be installed:
libxcursor-dev (1.0.2-2)
0 upgraded, 1 newly installed, 0 to remove and 80 not upgraded.
7 not fully installed or removed.
Need to get 0B/27.3kB of archives.
After unpacking 135kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 113340 files and directories currently installed.)
Unpacking libxcursor-dev (from .../libxcursor-dev_1.0.2-2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxcursor-dev_1.0.2-2_i386.deb (--unpack):
trying to overwrite `/usr/X11R6/include/X11/Xcursor/Xcursor.h', which is also in package xlibs-dev
Errors were encountered while processing:
/var/cache/apt/archives/libxcursor-dev_1.0.2-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock
$76.00
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$419.99
AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor
$319.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
AMD Ryzen 5 5600X CPU Processor (4.6GHz, 6 Cores, Socket AM4)
$119.99
Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H
$27.99
Intel Core i5-12600KF Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unlocked.
$145.59
Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62
$45.87
Intel Core i3-10105 10th Gen Comet Lake 4 Quad-Core 3.70 GHz Processor FCLGA1200
$31.31
Intel Core I7-9700K 3.6GHZ PROCESSOR | SRELT SRG15
$130.00