Tag Info

New answers tagged

0

sudo apt-get -f does not works in Terminal with saying "command line option 'f' [from -f] is not known." so what should a do then to install Firefox.


0

Install Ubuntu SDK and click "Open SSH connection do the device" in the devices panel. Bonus: you won't resist to writing a new Scope...


0

To activate ssh access entirely over wifi, without developer mode on the phone, without any special tooling on your computer and without using USB: If you don't already have an ssh keypair, type ssh-keygen on your computer and follow the instructions to generate one. Install the Terminal app on the phone from the App Store. Open a Terminal and type (this ...


0

You don't need to "rebind" those applications; if your libraries are properly installed (even in /usr/local), the applications should be able to find them. What you need is to build and install a fake package that pretends to provide those libraries, in order to satisfy the dependencies from the package manager's perspective. Take a look at the ...


8

apt-file is used to do a search of which package provides a file. Consider it the offline and somewhat limited version of http://packages.ubuntu.com. Since you used apt-file update without sudo, it cannot use a system-wide directory (typically /var/cache/apt/apt-file), and instead uses a directory in your home (~/.cache/apt-file). Searches by other users ...


2

Try this: sudo apt-get install gcc


0

I finally got an answer to my own question. I tested it on ubuntu 14.04 and works smoothly. Just run the below commands in order Just you need sudo rights for this cd /etc/apt/sources.list.d sudo echo "deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse" > ia32-libs-raring.list sudo apt-get update sudo apt-get install ...


0

With multiarch you need to explicitly install i386 packages needed, ex. sudo apt-get install libgtk2.0-0:i386 Otherwise maybe have a look here for alt. packaging - https://hadler.me/linux/forticlient-sslvpn-deb-packages/


0

The bare minimum in sources.list is: deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse Edit sources.list using: sudo -H gedit /etc/apt/sources.list Then run: sudo apt-get update You can find more alternative using Ubuntu ...


0

If which does not return a path, it means that your system is not seeing it at all, which also means that phpunit is not globally recognized and is not part of system's PATH. To have it to be recognized, you need to have it to be inside the system as top level. Best shot is to execute this command sudo apt-get install phpunit. Always use this command as ...


0

You may have skipped sudo mv phpunit.phar /usr/local/bin/phpunit when following the instructions. the result is that phpunit is not on your path. You have 2 choices. 1) Do the step you missed, (recommended) 2) Hack things in such a way that phpunit is found on your path by another method. If any of this is unclear, drop me a comment and I'll do my best ...


0

I've also been struggling with this over the past few days. I've found the best way is to use the Windows executable under wine. Seems a lot more solid.


0

Try to remove/purge the faulty packages: sudo dpkg -P /var/cache/apt/archives/libsdl2_2.0.3+z4~20140315-8621-1ppa1trusty1_i386.deb /var/cache/apt/archives/libsdl2-image_2.0.0+z1~20131109-434-1ppa1trusty2_i386.deb Then fix the broken dependencies so that if they were needed they'll be reinstalled: sudo apt-get install -f Then retry.


0

Try the following commands: sudo apt-get check sudo apt-get clean The first one (check) might do nothing, but the second one (clean) should delete all downloaded and cached packages including the two faulty packages above. No worries, this does not affect the installed programs but does just empty the cache of apt-get. You will not notice it except that ...


0

sudo aptitude install cruft man cruft sudo addgroup cruft sudo chmod g+rwx /var/spool/cruft sudo chown root:cruft sudo addgroup $USER cruft cruft -r cruftreport sudo chown root:root /var/spool/cruft less cruftreport


0

It means that, when you install your package, it will automatically answer 'yes' to any prompts- in other words it will install without any user interaction. Doing this is typically not always a good idea. See apt-get --help for more info.


5

The -y options means, that apt-get won't wait for user confirmation (assume "yes" when question for confirmation would appear). There is many commands in Unix and Linux with -y or other option working it the same way. You can learn such things by yourself using manual (man) like this: man apt-get


1

From Ubuntu.com: Ubuntu Manpage: apt-get - APT package handling utility -- command-line interface: -y, --yes, --assume-yes Automatic yes to prompts; assume "yes" as answer to all prompts and run non-interactively. If an undesirable situation, such as changing a held package, trying to install a unauthenticated package or removing an essential ...


0

Before installing ubuntu-device-flash you should ensure you have the universe archive enabled. From the Ubuntu help: Additional software repositories such as Universe and Multiverse can be enabled by uncommenting the corresponding apt lines (i.e. delete the '#' at the beginning of the line). For Universe, uncomment those lines: deb ...


2

To be able to use "apt-get" in ubuntu-touch, for safety I suggest you use the function "Enabling/ Disabling read-write mode". Once enabled the "read-write mode", this will disable Ubuntu system upgrades. Howerver you can restore automatic over-the-air updates by disabling the "read-write mode". "By default the system is read-only. You can switch to ...


1

apt-cache show <packagename> does what you want. You might have overseen it. The following command highlights it: apt-cache show scons | grep --color -E "Description|$"


1

It appears that OpenOffice and LibreOffice are packaged in a way, that prohibits a clean coexistence. I suggest that you settle for wither of the two and remove the other.


0

Thanks @mchid first, for trying to help. However in this case I have to remove openoffice clean, and sadly it's broken therefore there is no way to purge it in a normal way. How to make this work? Fix the broken package first. So: Step 1. check if any packages broken. sudo dpkg -l | grep openoffice # check if any packages remained, and what are they ...


-1

Use this... sudo dpkg --configure -a


0

Firstly, to quote the man page: "unattended-upgrade - automatic installation of security (and other) upgrades" and other - it's going to do the lot... The difference is that security upgrades are deemed important for security - so things like vulnerabilities in programs - & the others are just upgrades to a program with no bearing on security. The ...


1

The security updates are updates that fixes security bugs that can compromise the system, the rest are updates of improvement that fixes non-critic bugs or adds new features to a program. However, its recommended to install all updates. When do you see this: 35 packages can be updated. 22 updates are security updates. Yes, you think correctly, there is a ...


-1

I actually don't know what could happen... I tried it on my Nexus 4 and my system still can get OTA updates after that. I tried to install even apache, php and mysql to run a "phone server" LOL and I think it's working well.


0

You try to install a package for Ubuntu 11.04 in Ubuntu 14.10. That's a bad idea. You could try prozilla - 2.0.4~raringbuild1-0tahutek1 (https://launchpad.net/~tahutek-team/+archive/ubuntu/prozilla/+packages), maybe this works. Alternatively, you can of course force the installation, what is also not a very good idea. sudo dpkg -i --force-overwrite ...


0

Have you tried to run sudo dpkg --configure -a as recommended on that install output? Also, after run it, I would recommend to run sudo apt-get -f install to fix any broken dependencies.


1

Assuming you are running regular ubuntu and not ubuntu-gnome, run the following commands to fix the problem: sudo apt-get update sudo apt-get purge openoffice* libreoffice* python3-uno sudo apt-get install libreoffice-java-common libreoffice-sdbc-hsqldb libreoffice-core python3-uno libreoffice-math libreoffice-impress libreoffice-writer ...


1

I know nothing about Dart, yet I downloaded the deb and looked inside it. The files you're looking for are located at /usr/lib/dart/bin/. You're getting "command not found" because that directory is not in $PATH. You should be able to run them by providing the full path: /usr/lib/dart/bin/dart2js Or you may want to add /usr/lib/dart/bin to $PATH.


0

if you installed using 12.04.5 server or alternate install then it usually can be fixed with sudo rm -fr /var/lib/apt/lists sudo apt-get update FYI: Here is the cause of the problem https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1434699


0

...dont forget about `build-dep` In addition to those answers above -- I have to admit I am surprised that nobody have mentioned this approach which, is what I have always used as a "silver bullet" at any time I encountered apt-get conflicts or unresolved packages (or even if the system is being stubborn....ha!). sudo apt-get remove --purge [package] sudo ...


1

I was having the same problem, and I fixed it by running the following commands in the terminal: sudo apt-get purge nvidia* ## remove the previously installed proprietary driver sudo reboot sudo add-apt-repository ppa:xorg-edgers/ppa sudo apt-get update sudo apt-get install nvidia-340 That worked for me. Let me know how it goes for you.


0

Delete the previously installed key with: sudo apt-key del 7FAC5991 Then download and re-add key.


0

Open a terminal and enter the following: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - That will import Google's updated GPG Key. You should be able to update the system without any errors. Worked for me on Ubuntu 14.04.2 Source: Google Linux Repositories


11

With the official final release Ubuntu for Phones ships the "android-gadget-service" tool with which you can manage adb, mtp, USB tethering and ssh. Connect your device via USB, enable Developer Mode in: "System-Settings->About This Phone->Developer Mode" ...and run (from your PC, make sure to have the phone screen unlocked, else adb will refuse to let ...


0

Try to rename your current smb.conf smb.conf.bak, then retry installation. After that, I would recommend to diff the new smb.conf against the smb.conf.bak to keep previous settings. sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.bak


4

--reinstall install: Normally, this is written install --reinstall, but both work just fine. This simply is telling apt-get to reinstall the package(s). linux-headers-: linux-headers- is the beginning of a package name. If you run dpkg -l | grep linux-headers- you can see a full list of any packages installed that begin with that: Header files are, ...


-4

apt-get -f autoremove is what you are looking for.


2

A simple solution would be to make a script that checks first and then launches. For example: #!/usr/bin/env bash ## Do a test run of the apt-get command, printing the relevant details sudo apt-get -s install "$@" | perl -ne '$a=1 if /Reading state information/; if($a==1 && /:$/ || /^\s/){print}' read -p "Do you want to continue? [YN] " ...


5

apt-get install new-package will ask for confirmation only if it also installs dependencies of the given package. If just the single package you specified is going to be installed without any additional stuff, it stays quiet as you already "confirmed" you want to have that one by typing it. But if there are some dependency packages, you might change your ...


0

One of the reason might be you've just remove some important package, which has dependencies on many other packages. It happened with me too, in my case, I knew package that I just removed, re-installing it worked for me. So you've removed a package on which lot of packages were dependent. It's like when you install a package-A, which has dependency on ...


0

i'm getting the same thing whenever i install something with apt. to keep those packages you need to tell apt that you still want them by attempting to install them again, eg: $ sudo apt-get install aisleriot ant ant-optional etc do not do apt-get autoremove as apt suggests, otherwise you will have no gui and will have to reinstall everything from the ...


1

You have a problem with your DNS server and/your internet provider as indicated by the error messages Could not resolve 'us.archive.ubuntu.com' Often these sort of problems are temporary in nature and if you try again later it would just work. If it doesn't contact your ISP and point them to this page.


0

A quick fix for nvm users. I use nvm (node version manager) and for me to use the npm command I must always issue before npm this command nvm use 0.x (replace 0.x with 0.11 or 0.10 for example, the version you wish to use).


1

You might have a corrupted file, so try removing and reinstalling the libf2c2 and libf2c2-dev packages: sudo apt-get purge libf2c2-dev sudo apt-get purge libf2c2 sudo apt-get install libf2c2 sudo apt-get install libf2c2-dev The question you refer to has another problem, their file is a python script, so of course it is not an ELF file. Fixed the ...


0

The apt present in Ubuntu is suffering from a gpg resource limit bug in apt You can easily fix this going to /etc/apt/trusted.gpg.d and removing unused keys until get below 40 keys. Then ran sudo apt-get update


0

Ok, got it. The deb package build gets its version number not from the version field in the control file, but from the changelog entry.


0

No worries, you don't need them, sudo apt-get autoremove Autoremove is used to remove packages that were automatically installed to satisfy dependencies for some package and that are no more needed



Top 50 recent answers are included