I noticed today that apt behaves differently depending on where (shell / python / …) it is run from. Background I am trying to find out the providing package of "watch" via the apt CLI. This works manually also very well: apt-get install -s watch NOTE: This is only a simulation! apt-get needs root privileges ..
I am having issues with conflicting names of libraries in installed c++ packages on a linux system. Both packages are built into installable apt packages using cpack. There are two packages being installed (A and B). Do note that although I have control over these packages and so I can change the CMake and whatnot, ..
before marking this question as a duplicate, hear me out. I have tried every workaround I could find on internet. First of all, I am using WSL2 with Ubuntu 20 on Windows 10 Home Edition. This is what I got when running sudo apt-get update: Hit:1 https://cli-assets.heroku.com/apt ./ InRelease Hit:2 https://deb.nodesource.com/node_14.x focal InRelease Err:3 http://archive.ubuntu.com/ubuntu ..
I’m attempting to make a GUI package manager for Ubuntu similar to Synaptic which uses libapt but have run into a few strange bugs to do with getting information from the pkgCache. Specifically when using a pkgIterator and trying to access the FullName() and Name() properties but others like Section() are fine (you can look ..
On Ubuntu 20.04 I tried to install and use the OpenCV contrib modules by using sudo apt install libopencv-contrib4.2. The command apt show libopencv-contrib4.2 tell me that This package contain following contrlib libraries: … sfm However, if I try using the module in my projects it doesn’t work. In CMake find_package(OpenCV 4.2 COMPONENTS sfm REQUIRED) ..
The last time I used WSL2 I am sure I installed nvm, and node.js. It’s been a month or so since then, and when I went to use it again nvm, and node are not installed. What’s going on? When the Ubuntu distro gets updated by Window Update, does it blow away all my changes? ..