i recently got Raspberry Pi 2 and installed Raspbian Jessie. Everything was working fine but now i can't install almost anything. Everytime it wants to install gnome-user-guide with 0B
Need to get 0 B/(forgot) MB of archives.
and
Preparing to unpack .../gnome-user-guide_3.14.1-1_all.deb ...
Unpacking gnome-user-guide (3.14.1-1) over (3.14.1-1) ...
I tried almost everything like removing it (force remove) because normal remove wasn't working (saying that this package is wrong and should be reinstalled) and i am desperate.
Thanks.
EDIT:
Forgot to mention i have enough space.
Sorry, this maybe a little late
This error is probably caused because of a corrupted temp package which was interrupted (In dpkg).
I solved this issue by
sudo dpkg --remove --force-remove-reinstreq gnome-user-guide
Related
a client of mine asked to add videos to their website, i decided to install FFMpeg on their server so whenever they upload a video, the service automatically generates the first frame for the preview and encodes them in webm.
Sadly it seems to be impossible to install without having to compile it myself (which i don't really want to do as i have never done it before and don't want to risk breaking something in their server),
The server is running cento6 but EVERY repository that provides the centos6 version of FFMpeg seem to use dependencies from dead hosts (they are offline and unreachable), every solution i find ends up with the same error like "Couldn't resolve host 'apt.sw.be'"
I've changed yam repositories, installed apt-get to try with that instead of yam, disabled and enable repos like nux that seem to be very outdated, even followed posts that were published/updated recently like this but they all keep ending up with the the same "Couldn't resolve host..." when installing decencies.
Is there any live and updated repo that provides a way to install FFMpeg for centos6 with yum or apt-get in 2022?
Thanks
EDIT
Following Romeo's tip about downloading the binaries, i managed to install it but in my case i needed a older 32 bit version to make it work (else i'd get Kernel too old):
$ wget https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.0.3-32bit-static.tar.xz
$ tar xvf ffmpeg-4.0.3-32bit-static.tar.xz
$ sudo mv ffmpeg-4.0.3-32bit-static/ffmpeg ffmpeg-4.0.3-32bit-static/ffprobe /usr/local/bin/
What you can do is to try to install statically build ffmpeg binary. This will help you not to search for contemporary package and update your CentOS.
You can try this version (64bit version).
I've seen Pypyodbc: Can't open lib 'FreeTDS' : file not found") error when trying to connect to SQL server, but. that's 7 years old, and doesn't seem to be working for me, possibly because brew appears to be putting things in different places now?
I've used brew to install unixodbc, it's in /opt/homebrew/Cellar.
When I do pip install pyodbc, it appears to work, but I get:
connection = pyodbc.connect(connection_string)
pyodbc.Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib '/usr/local/lib/libtdsodbc.so' : file not found (0) (SQLDriverConnect)")
which is obviously wrong, because libtdsodbc is in /opt/homebrew/lib
I tried editing odbcinst.ini, but I'm not sure where that's supposed to live. There wasn't one in /etc, or a /etc/unixODBC directory... and when I create either one, the don't seem to be read, because it still complains about /usr/local/lib...
ETA: This is on a new Macbook, so on one of the new M1 chips.
Note: This is a BAD answer in the hopes of attracting a good one, but it technically seems to be working.
Homebrew for M1 installs everything in /opt/homebrew. Everything else expects things in /usr/local. On a new computer, /usr/local/lib didn't even exist. So I did
sudo ln -s /opt/homebrew/lib /usr/local/lib
THIS IS VERY BAD AND I KNOW IT But it's the only way I've figured out currently to deal with the problem. Maybe something hasn't caught up to M1? I'm not sure.
BETTER solution:
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/homebrew/lib
There is a pull request that has been pretty much ignored for 13 months now by the pyodbc maintainer: https://github.com/mkleehammer/pyodbc/pull/870
You can install the forked version with this command (might need to uninstall the previous version or add extra arguments to force reinstall)
python3 -m pip install git+git://github.com/Aloisius/pyodbc.git#m1-homebrew
I accidentally purged XDG from my Raspbian Buster using this command: sudo apt purge -y xdg*
I've installed XDG and any other components back few minutes after the deed, and I thought I fixed it but I didn't. Plus I didn't realize the mess I'd done and closed out the terminal after that, so I wasn't able to take a screenshot of the apt log.
I'd like to request someone to send me a screenshot of doing sudo apt purge xdg* then at the prompt section take a screenshot, and send it to me here please, so that I may try to install the additional packages removed during the purge.
I've tried to install all the packages listed under Buster Full Packages here too: https://gist.github.com/jarvisms/6d3edba4fc27829d5dfe7a2bd8c7c5fb
But I still couldn't: 1) bring back how Raspbian Buster was; 2) get other system components running again. Been searching for any hint for days but I think this issue's pretty unique (uniquely dumb lol)
I honestly like this version of RPi now, it's more convenient to use (albeit sadly less efficient due to constant CPU maxing out for some reason) than how it was out of the box. But I can't program in C++ or Python properly, and figuring that out might take me more than attempting this since I'm not really a Linux connoisseur.
Thank you for reading.
I'm having an issue with pecl which is erring out saying phpize had failed.
The problem ultimately seems to be with m4. Error is autom4te: need GNU m4 1.4 or later: /Applications/MAMP/Library/bin/m4
When I run "which m4" I get /Applications/MAMP/Library/bin/m4
However, any command I try to run with m4 like "m4 --version" I get the following:
Abort trap: 6
I can't find a good explanation of that error, but I'm guessing something is corrupted with m4, but I can't figure out how to fix this on a Mac. Do I just download a newer version and run configure, make and make install? Just a little nervous since I have somewhat limit Mac experience.
I've fixed similar issue by executing brew reinstall m4.
In addition to a "brew (re)install m4", I had to temporarily remove "/Applications/MAMP/Library/bin" from my PATH. After that this worked for me.
I am using Ubunt 12.04. My project was running fine till yesterday and today when i open the springtoolsuit and start tomcat (i am using tomcat 7.0), a pop up opens and says:
In details it says :
An internal error occurred during: "Starting tomcat_server_name**".
org/eclipse/jdt/debug/core/JDIDebugModel
Can i be issue due to ubuntu updates ??
** Tomcat_server_name is the name of my tomcat server.
Kindly help me, as i searched google alot but could not found any solution.
Answering my own question as it may help some one like me facing the same problem.
sudo apt-get --reinstall install tzdata-java
solve the problem.
Got solution from
Here
For Windows users, there is another solution. Open eclipse.ini in the Eclipse installation folder and add -Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=ICU as the last line of that file
If you're on 16.04, there is no tzdata-java package. I guess it got rolled in to tzdata, but reinstalling it does not fix this problem. I fixed it by downgrading tzdata to the last version that was accompanied by tzdata-java, then reinstalling tzdata-java.
tzdata: https://launchpad.net/ubuntu/xenial/amd64/tzdata/2016c-0ubuntu1
tzdata-java: https://launchpad.net/ubuntu/xenial/amd64/tzdata-java/2016c-0ubuntu1
I have to keep using the old version for Tomcat7 to work, so did this to prevent Ubuntu from updating the file:
sudo apt-mark hold tzdata
re-installing and selecting JDK 1.8 worked for me in Xubuntu 16.04
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java