Saturday, January 11, 2020

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (I cleared the existing partitions) I stopped being able to boot from any USB device, whatever I change at BIOS, it always goes straight to GRUB2.



Just to add something to the mix, now I can't boot properly after upgrading to Precise (separate question)

13.04 - HDMI support and Nvidia Optimus systems

I see a few questions and talks of a new NVIDIA driver that allegedly supports Optimus technology, by Nvidia. I use a Dell Vostro 3500 Core i5 4GB RAM, with an Intel Video Card and a Geforce 310M GS. The systems: Ubuntu 13.04 / Win 7 (dual-boot).




My question concerns HDMI support with a video card similar to the one I have. Even with Bumblebee installed, when I had Ubuntu 12.10 running, I couldn't switch to HDMI external monitors. That's the only reason why I still use dual-boot. I would be happy even if it's possible to make HDMI working only with the Intel card.



Has anyone ever tried the new 319.12 driver by NVIDIA on Ubuntu and saw any significant difference, specially concerning HDMI support? Has anyone ever succeeded in connecting HDMI external monitors using NVIDIA drivers, with or without Bumblebee? Thanks in advance for sharing your sollutions.

Unable to resume Windows 10 after hibernation in a dual boot PC

I left my PC turned on last night, in Windows session, and when I returned home it was off (I guess it was because of hibernation). So I turned it on again, logo of BIOS appeared as usual, GRUB options appeared as usual, but then, whether if I click on Windows or Ubuntu, the result is the same: A black screen and nothing happens after.



I have discovered that I can log into Ubuntu if I go to "repair options" and click on update grub option, but just once, because once I reboot PC, the same happens again. If I try to access Windows partitions while in Ubuntu, it says that they are hibernating (I had to do some process I can't remember to allow Ubuntu recognize them though).



I have tried reading about similar problems, but they all suggest logging into Windows and turning off hibernation, but I can't log into Windows.

Trying to get apt-upgrade working again on Ubuntu Server 16.04

My Ubuntu Server runs in a virtual machine. Unfortunately the server it runs on was restarted recently, causing corruption which required a full disk fsck to get it booting again.



When I tried to update and upgrade packages, I got error messages which I include below. apt update works as usual but the apt upgrade command causes an error. When I run dpkg -- configure -a, I get other error messages. I have tried removing and purging the packages mentioned but nothing seems to work.



I have tried the solution suggested but get the following error message:



enter image description here




Any ideas? This screen has the original errors...



enter image description here

12.10 - GRUB missing after removing drive with Ubuntu

My work laptop is an HP EliteBook with one hard drive in it. On that hard drive is a encryption program that boots up called "safeboot", you enter your username and password and then Windows boots up. Wanting to use this for personal use I removed the CD drive and installed a 2nd hard drive bay instead. On the 2nd hard drive I loaded Linux Mint 14 and was using it for months. Then I wanted to try Ubuntu 12.10 so I partitioned the 2nd hard drive and installed 12.10. Now when booting up if I choose to boot from the first hard drive it goes straight into the grub boot loader. If I remove the 2nd hard drive and boot up it says grub is missing. Any thoughts?

Friday, January 10, 2020

How to add Minecraft to the Unity launcher?

I'm having trouble getting Minecraft to launch when I add it to the launcher. If the game is running, I can right click on the icon in the launcher and select "keep in launcher" and the icon stays, but the game won't launch from it.




If I create a launcher on the desktop, then drag that launcher to the unity launcher, the game will start. If I remove the launcher from the desktop, it stays in the Unity launcher, but will not start any more.



Is there some way to add it to the Unity launcher so that it will actually launch?



(Blech, I've said launch far too many times.)

12.04 - Can't use nvidia driver



I have a NVidia GTX 765M video card in my notebook running Ubuntu 12.04.2 and can't figure out why it doesn't use nvidia driver. I've installed nvidia-current and nvidia-settings from this repository:




ppa:ubuntu-x-swat/x-updates


however when I run nvidia-settings this message is shown:



You do not appear to be using the NVIDIA X driver. 
Please edit your X configuration file (just run `nvidia-xconfig` as root),
and restart the X server.



Before run nvidia-xconfig I've looked the /etc/X11/xorg.conf and it is completely empty.
After running nvidia-xconfig the scree has as maximum resolution 640x480, and the same message appears when I run nvidia-settings.



ADDED



When I run lspci | grep VGA just Intel card is found:



00:02.0 VGA compatible controller: Intel Corporation Haswell Integrated Graphics Controller (rev 06)



NVidia card is returned when I run lspci | grep 3D:



01:00.0 3D controller: NVIDIA Corporation Device 11e2 (rev a1)


What can I do to make this video card run using nvidia driver?



This looks like your laptop is using NVidia Optimus, which is often rather troublesome in Linux.
Basically what this means is that the system will use an integrated Intel HD Graphics card by default, and when you tell it to, it will switch to the NVidia card.



I'm not highly knowledgably about the subject, but this is what came to mind.




I think your best option is probably to look in your BIOS/UEFI for an option to use the NVidia card by default, if the issue is indeed NVidia Optimus.


remote desktop - Cannot connect to x11vnc server before login


I have installed x11vnc on ubuntu 15.10. Based on:


Remmina cannot perform VNC remote desktop session before user logs in


I have created a new file: /etc/init/x11vnc.conf on MYSERVER containing:


start on login-session-start
script
x11vnc -display :0 -auth /var/run/lightdm/root/:0 -loop -forever -safer -shared -ultrafilexfer -bg -o /var/log/x11vnc.log -rfbauth /home/moore/.vnc/passwd -rfbport 5903 -http -users moore -nowireframe
end script

I have now rebooted MYSERVER and am trying to RDP to it from another ubuntu machine using Remmina:


enter image description here


But I just get:


enter image description here


I also tried following this guide:


http://seb.so/vnc-from-boot-without-logging-in-ubuntu-lubuntu-xubuntu-and-mint-lmde/


same result.


UPDATE:


As suggested below I have now tried to run:


x11vnc -display :0 -auth /var/run/lightdm/root/:0 -loop -forever -safer -shared -ultrafilexfer -bg -o /var/log/x11vnc.log -rfbauth /home/moore/.vnc/passwd -rfbport 5903 -http -users moore -nowireframe

from a terminal where I first SSH'ed to the server. It gave me this error:


...disabling -bg in -loop mode error opening logfile: /var/log/x11vnc.log open: Permission denied

But if I then do it as root from the same terminal it now works! But why does it not do that automatically when the machine is rebooted?


Notice when I did the small manual test above as root the file /var/log/x11vnc.log was created so it now exists with the following permissions:


-rw-r--r--  1 root              root     12640 Feb 19 00:26 x11vnc.log

But it still fails to start automatically on boot. It seems that whatever user is running the script on boot is NOT root.


UPDATE2:


The updated below answer solved the problem - that addresses the issue in Ubuntu 15.10.



There are only three things I can think of that might be preventing you from connecting:



  1. Do you have a firewall in place? Have you unblock access to port 5903? You can do that using UFW which is a GUI for your firewall in Ubuntu.

  2. Are you trying to access the server from outside your network? In that case you also have to forward the 5903 port on your router to access the VNC server (in addition to point 1). If you are getting this error when connecting from the same network, ignore this option but keep it in mind when connecting from outside the network.

  3. Last one, which is silly but I wanted to cover my bases. Are you trying to connect from the same computer? I don't think x11vnc allows for loopback connections, so always try use a different computer when testing (or your phone).


I also use x11vnc server on my computer, but the difference is that only the localhost can access it. I also run an SSH server, that way I have a way more secure connection, and once a user ssh to your computer, they can connect to the VNC server as a localhost.


I hope this helps


EDIT


After trableshooting, the problem is that Ubuntu 15.10 doesn't have upstart so x11vnc will never run on boot.
Instead, you have to create a service and make it available at boot. Here's what to do:


sudo nano /lib/systemd/system/x11vnc.service

Insert this into the file:


[Unit]
Description="x11vnc"
Requires=display-manager.service
After=display-manager.service
[Service]
ExecStart=/usr/bin/x11vnc -display :0 -auth guess -loop -forever -safer -shared -ultrafilexfer -bg -o /var/log/x11vnc.log -rfbauth /home/moore/.vnc/passwd -rfbport 5903 -http -users moore -nowireframe
ExecStop=/usr/bin/killall x11vnc
[Install]
WantedBy=multi-user.target

Then you can start the service with:


sudo systemctl daemon-reload
sudo systemctl start x11vnc

And to make the service start on boot:


sudo systemctl enable x11vnc

This solution was previously posted by babelmonk here


Thursday, January 9, 2020

boot - How to restore Ubuntu GNU GRUB screen?

I installed Ubuntu 18.04.1 LTS on my system along with Windows 10 as dual boot. The Ubuntu worked fine for few days, but last day there there were some updates in UBUNTU which I allowed to download and install. During that, my Ubuntu freeze with no mouse and keyboard working, so ultimately I had to force shutdown the system holding power key.
During next boot to the system, the system automatically got booted to Windows 10 with no GNU GRUB Boot loader missing. I tried few solutions from web, but nothing worked for me. I'll post details of solutions I already tried.
I tried boot repair using temporary booting of Ubuntu using flash drive but it also got failed and resulted in dpkg error.



sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair


The error is dpkg-error detected. Please open a terminal then type




sudo chroot "/mnt/boot-sav/sda12" dpkg --configure -a 


On typing this command on terminal, error is



chroot:failed to run command


Is there any possible solution to restore Ubuntu without loosing data.




I tried removing Ubuntu from my machine with fixing Windows boot loader from CMD in Windows Recovery mode, but it's also showing Access Denied using bootrec /fixboot command.



Currently Windows is working fine on system but it's taking time to load up as I messed with boot settings by installing Ubuntu.



Any possible method to restore Ubuntu?
If not, how to fix my Windows System, so that I can install Ubuntu again.

partitioning - How do I resize my current ubuntu partition?

I've got Ubuntu 10.10 installed to use my whole hard-disk, but would like to use the 130GB of free space I've got to create a new partition and do some development on Unity and Natty.


Can I use gparted to do this? If so how?

Wednesday, January 8, 2020

directory - how to delete locked folders/files




How to delete locked folders/files? When I try to delete them an error occurs: "Error removing file: Permission denied" I am root. See the image below to know what kind of folders/files.



enter image description here



thanks



Launch your file explorer as root using:



gksudo nautilus



This will open your file explorer, and grant it root, so it should be able to view/delete the directory/file.



If you are like me, and don't care about the warnings in this question you can use this instead:



sudo nautilus

software installation - I cannot install any application anymore

After installing wine and failed to agree on the agreement on the font.
this message is shown, and I cannot install or remove the ttf-mscorefonts-installer anymore.



The package 'ttf-mscorefonts-installer' is in an inconsistent state and needs to be re-installed, but no archive can be found for it. 



I use this command first to re install the 'ttf-mscorefonts-instaler'



sudo apt-get --reinstall install ttf-mscorefonts-installer


This error message shows.



Reading package lists... Done 

Building dependency tree
Reading state information... Done
E: The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it.


and using this command "sudo apt-cache policy ttf-mscorefonts-installer" this error message shows.




Installed: 3.4ubuntu3
Candidate: 3.4ubuntu3

Version table:
*** 3.4ubuntu3 0
100 /var/lib/dpkg/status
3.3ubuntu4 0
500 http://archive.ubuntu.com/ubuntu/ oneiric/multiverse amd64 Packages


and with this command "sudo dpkg-reconfigure ttf-mscorefonts-installer" this message shows.





/usr/sbin/dpkg-reconfigure: ttf-mscorefonts-installer is broken or not fully installed


how to solve this problem??

multiple monitors - Multimonitor on AMD Catalyst and 11.10 feels slowish

I have an AMD X6 desktop with plenty of RAM and a dual LG monitors driven by a Radeon HD 5830. The monitors are on DVI ports. AMD Catalyst Version 11.11. Tear free is on. Sync to V-black in ccsm, is disabled.



Multi monitor works OK, I have no problems dragging applications, working seemless between the two monitors, no instability issues whatsoever.




However, the whole experience with dual monitors is a bit sluggish. Window maximizing and minimizing feels slow, effects feel slower, the whole desktop experience feels other than on a single monitor.



Is this an Ubuntu issue or a GPU issue? Is there something to do to improve the overall experience? Will 12.04 improve on these issues?
Thanks

Tuesday, January 7, 2020

npm - Installing Current nodejs version

Starting to learn Nodejs in Ubuntu (New to ubuntu as well). when I use apt install nodejs , v8.x.x is getting installe instead of current v12.x.x.
I tried to use nvm using from here but it is only installing node and not nodejs.


I tried to install from nodejs.org but it's just installing a tar package and I'm not sure how to install it or even if I'm able to install, do not find any easy way to update the node version.


Can someone provide me right way to install latest nodejs.


Thanks

wine - How can I install Windows software or games?



Can .exe and .msi files (Windows software) be installed in Ubuntu?



You can if you first install the



Wine compatibility layer icon from the Software Center, you can install Windows applications in Ubuntu. Be warned though that not all applications work perfectly or without glitches. Some applications are even unusable, while others work perfectly (see the Wine Application Database for a good idea of how well various programs work). see How to install and configure Wine? to help you to install this.




Once Wine is installed, you can simply double click an .exe or .msi file to run it. If this doesn't work for some reason, right-click the file and select "Open With Wine Windows Program Loader". Of course, only run executables from sources you trust to avoid Windows malware.




Screenshot of right-click opening an executable




If you run into compatibility issues, you may wish to try the latest Wine Beta version from the ppa:ubuntu-wine/ppa software source (see What are PPAs and how do I use them?).



You might also consider installing Winetricks icon, CrossOver icon or CrossOver Games icon to install and use software more easily.




To see the debug output of Windows software (in case something goes wrong) run it from a terminal using wine msiexec /i file.msi or simply wine file.exe.


gnome - How to install the blue stripes animated wallpaper in Ubuntu 12.10



How can I install the default Gnome-Shell 3.4 animated background (or 'wallpaper') in Ubuntu 12.10?



The background is dynamic, becoming brighter and more radiant during the day, and dark and shadowy in the evening.




Morning, Daytime and Night
enter image description here



I tried to install the package "gnome-backgrounds" but there are only the static backgrounds.



The background is part of the default gnome theme 'Adwaita'. You have to install the package gnome-themes-standard.



gnome-themes-standard Install gnome-themes-standard


installation - Installing Ubuntu on a USB stick from live CD session


I'm going by the instructions here:
How do I install Ubuntu to a USB key? (without using Startup Disk Creator)


Everything is ok except I keep getting the error:


open /dev/kvm: no such file or directory
could not initialize kvm, will disable kvm support
failed to find rom file etc. etc.

Then the kvm window opens but it is black and says remove disks or other media and press any key to restart.


I am booted up in a live CD session and trying to install on a usb stick.



Can you please try to make the USB key bootable using UNetbootin and ISO from Ubuntu.com?


Please keep me informed.


Monday, January 6, 2020

multiple monitors - Ubuntu Gnome (w/ Wayland) - install desktop with X?

UPDATE: Ubuntu 18.04 is back to X with an Ubuntood version of Gnome which can be replaced with the stock version using sudo apt install vanilla-gnome-desktop



I have a System76 laptop with Ubuntu GNOME (17.04). Ubuntu GNOME uses wayland.



I also have a USB DisplayLink adapter that powers 2 external monitors.
That adapter connects but is unworkably buggy (as in no image). Displaylink is working on wayland support but it's not ready yet.



Is there a way to easily switch Ubuntu GNOME from wayland to x?



Or install an alternative desktop that uses x on the side?




Or otherwise shim some X into wayland so I can use this adapter?



I prefer Gnome, but more prefer multiple monitors with this USB displaylink, and even more prefer not reinstalling.



Thanks!

12.10 - Touchscreen and digitizer not working on Sony Vaio Duo 11

I have a Sony VAIO Duo 11 (SVD112...) which features both multi-touch and stylus input. However, booting up Ubuntu 12.10 gives me





  • no stylus reaction

  • touch input works very strange: when I touch with 1-3 fingers, usually nothing happens but sometimes there is some reaction

  • when I tap the screen with 4 fingers, the dash shows up, consistently



Where can I start to find out the underlying issue and how to fix it?



EDIT: On Ubuntu 12.04.1 the touchscreen isn't recognized at all.




EDIT2: On Fedora 18, the touchscreen works a little bit better. I have found out that the USB ID of the touchscreen is not contained in the hid-ntrig module, so that's probably why some of the quirks needed for it are not appplied.

xubuntu - Ubuntu Live USB won't boot, "Failed to load COM32 file menu.c32"


I'm hoping to revive an old netbook I have laying around by installing Linux on it. I did what I gather most of us are supposed to do: I created a Xubuntu 14.10 Live USB with Unetbootin, plugged the stick into my computer, tried to fire it up...


and was faced with a black screen and this error:


Failed to load COM32 file menu.c32
boot: _

The darn thing won't respond to any key presses and I can't do anything except turn it off and cry. I've tried reformatting my USB drive, redownloading the Xubuntu .iso, and remaking the Live USB. Same error.


What can I do to fix this?


This problem also occurs with usb-creator, otherwise known as "Startup Disk Creator". It's also a problem with all ubuntu variants, including those based on Ubuntu 14.04 LTS, Ubuntu 14.10, and Ubuntu 15.04.



After doing some digging, it seems like this is a fairly common problem for some folks who try to create a Ubuntu Live USB with Unetbootin. The bug hasn't been fixed yet, but luckily there is a workaround.


You'll need:



  • A working computer with Ubuntu already installed

  • 1 minute of your time


The workaround:



  1. Plug your created Live USB into a computer with Ubuntu already installed.

  2. Navigat over to /usr/lib/syslinux/bios/ in your file manager. (In some installations, the path you need is /usr/lib/syslinux/modules/bios/.

  3. Select the following three files: libcom32.c32, menu.c32, and libutil.c32.

  4. Copy (not cut) the above files over to the root directory of your Live USB drive.

  5. Unmount the USB drive, and you're good to go!


This solution was based off a blog post found on AjoPaul.com


Alternative Workaround From the command line:


After you install Ubuntu 14.10 to your USB drive, run the following commands:


cd /usr/lib/syslinux/modules/bios/
cp libcom32.c32 /media/path/to/usb/drive/
cp libutil.c32 /media/path/to/usb/drive/
cp menu.c32 /media/path/to/usb/drive/

installation - I can't install nvidia correctly

I tried to install the nvidia drivers in my laptop dell Inspiron i7 with Graphyc g-force running with Ubuntu 13.10.


I tried this commands :
apt-get install nvidia-current-updates - nvidia-xconfig
but it all ways returns me to the black screen.


Please how do I install the nvidia drivers correctly without failure (I have tried many times but they are still not working)

python - unable to install a package using pip

I'm triying to install a package using pip inside a virtualenv:


pip install fuse-python


but the output is


Downloading/unpacking fuse-python
Downloading fuse-python-0.2.tar.gz (53kB): 53kB downloaded
Running setup.py (path:/home/nicu/dev/bacula/ve/build/fuse-python/setup.py) egg_info for package fuse-python
Usage: pkg-config [-?] [--version] [--modversion]
[--atleast-pkgconfig-version=VERSION] [--libs] [--static]
[--short-errors] [--libs-only-l] [--libs-only-other] [--libs-only-L]
[--cflags] [--cflags-only-I] [--cflags-only-other] [--variable=NAME]
[--define-variable=NAME=VALUE] [--exists] [--print-variables]
[--uninstalled] [--atleast-version=VERSION] [--exact-version=VERSION]
[--max-version=VERSION] [--list-all] [--debug] [--print-errors]
[--silence-errors] [--errors-to-stdout] [--print-provides]
[--print-requires] [--print-requires-private] [-?|--help] [--usage]
pkg-config could not find fuse:
you might need to adjust PKG_CONFIG_PATH or your
FUSE installation is very old (older than 2.1-pre1)
Traceback (most recent call last):
File "", line 17, in
File "/home/nicu/dev/bacula/ve/build/fuse-python/setup.py", line 69, in
iflags = [x[2:] for x in cflags.split() if x[0:2] == '-I']
NameError: name 'cflags' is not defined
Complete output from command python setup.py egg_info:
Usage: pkg-config [-?] [--version] [--modversion]
[--atleast-pkgconfig-version=VERSION] [--libs] [--static]
[--short-errors] [--libs-only-l] [--libs-only-other] [--libs-only-L]
[--cflags] [--cflags-only-I] [--cflags-only-other] [--variable=NAME]
[--define-variable=NAME=VALUE] [--exists] [--print-variables]
[--uninstalled] [--atleast-version=VERSION] [--exact-version=VERSION]
[--max-version=VERSION] [--list-all] [--debug] [--print-errors]
[--silence-errors] [--errors-to-stdout] [--print-provides]
[--print-requires] [--print-requires-private] [-?|--help] [--usage]
pkg-config could not find fuse:
you might need to adjust PKG_CONFIG_PATH or your
FUSE installation is very old (older than 2.1-pre1)
Traceback (most recent call last):
File "", line 17, in
File "/home/nicu/dev/bacula/ve/build/fuse-python/setup.py", line 69, in
iflags = [x[2:] for x in cflags.split() if x[0:2] == '-I']
NameError: name 'cflags' is not defined
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/nicu/dev/bacula/ve/build/fuse-python
Storing debug log for failure in /home/nicu/.pip/pip.log

as far as i can tell there's something wrong with pkg-config and PKG_CONFIG_PATH


I'm running ubuntu 14.04,
and the output of dpkg -l | grep is (so my fuse installation is not 'too old '):


ii  fuse                                        2.9.2-4ubuntu4                                      amd64        Filesystem in Userspace
ii gvfs-fuse 1.20.1-1ubuntu1 amd64 userspace virtual filesystem - fuse server
ii ifuse 1.1.2-0.1 amd64 FUSE module for iPhone and iPod Touch devices
ii libfuse2:amd64 2.9.2-4ubuntu4 amd64 Filesystem in Userspace (library)

UPDATE:
i installed it using sudo apt-get install python-fuse but that installed it globally:


ii  python-fuse       2:0.2.1-9   amd64    Python bindings for FUSE (Filesystems in USErland)

Sunday, January 5, 2020

No Empathy Autostart in Ubuntu 13.04



I have recently installed Ubuntu 13.04 from scratch and configured two accounts in the account manager and gave permission to Empathy to access them.




After a reboot, Empathy won't autostart so I have to start it manually from Unity chat applet, Empathy option.



After starting EMpathy, everything works as expected, and I can chat with my friends.



I need Empathy to autostart at logon



How can I solve this?



If you are using Unity, just search 'Startup Applications' in the Dash
and add Empathy to the list




(this command is empathy)


wireless - Wifi not working in Ubuntu in Acer aspire e5

I am trying to establish a wireless connection but it's not connecting. I searched for the wireless driver but was not found. Please instruct me how to install the wireless driver.

How to find out root password for installing software



I'm trying to install the NetBeans IDE in my Ubuntu and in the process it's asking for my root password which I don't remember. I know my sudo user password. How can I recover my root password?



As default Ubuntu has no password set for the root user, i.e., the account named root. To gain root privileges as another user you have to type in your own password. This is the password you set for the first user account while installing Ubuntu.



To set a password for the root, run the following command in a Terminal shell:



sudo passwd root



After this you are asked to type in the new password twice. After this the root account has its own password, so you can actually log in with the user name root.


jdk - Can't Uncompress JDK7 Zip FIle

I'm trying to download and install Java Development Kit 7 onto my Ubuntu machine. I've downloaded the file from Oracle (jdk-7u25-linux-x64.tar.gz) but when I try to uncompress the file using tar -xvf jdk-7u25-linux-x64.tar.gz I get the following error:



tar: jdk-7u25-linux-x64.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now


Is there something I'm doing wrong? If not how do I fix?

upgrade - Will upgrading from Ubuntu 10.04 to 10.10 delete my personal data?

I am planning to upgrade my operating system Ubuntu 10.04 to Ubuntu 10.10. I want to know whether this upgrading will delete all the data or not?

software installation - Where to install programs?



Possible Duplicate:
What is the best place to install user apps?



I've downloaded a .tar.gz and ran sudo sh install.sh. It's asking me where to install the program to. I don't want it cluttering up my home directory, and I want it to be available in the applications menu. Where should I put it? /usr/bin? /usr/local/bin? Or are those only for single binaries? This program wants to create a folder.



First of all which Application are you installing? It is always preferable to install through the native Package Management as the Package Manager will handle the location, updates, paths and the launchers (shortcuts) for you. Also updates would be handled. You should ideally search for the package in the Software Center or Synaptic. PPAs can be used if the software is not in the default repos.


However if you are sure of installing this package, use /opt directory, /opt/appname for example. /opt would be suitable for this kind of installs. Launchers may or may not be created depending on the installer. You can create a launcher manually if the installer doesn't create. You may also use $HOME/bin for putting all your apps.


Saturday, January 4, 2020

Ubuntu 10.04 broken package (build-essential)

I do know there are questions like mine, but I couldn't get it work reading their answers. I'm trying to install build-essential, but the package is broken, therefore I can't install the needed compiler.



The following packages have unmet dependencies:   build-essential:
Depends: libc6-dev but it is not going to be installed or libc-dev
Depends: g++ (>= 4:4.3.1) but it is not going to be installed E: Broken packages


What I tried so far:



sudo apt-get update

sudo apt-get upgrade
sudo apt-get install build-essential -f


None of the above worked. I suppose the problem is in my sources.list, here it is:



deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe 
deb-src http://archive.ubuntu.com/ubuntu/ lucid main restricted universe



How can I fix it? Thanks in advance!

12.10 - Error booting full Ubuntu from external USB hard drive on desktop preloaded with Windows 8

I've just installed Linux for the first time, except I installed it on a Seagate USB Hard Drive (500GB, USB 3.0, 3 Partitions: 10 GB Ubuntu/1GB swap/The Rest NTFS) from a Live USB drive
(4GB) made in PenDriveLinux.




It boots perfectly on a 6/7 year old Toshiba Satellite A100 (32 Bit Celeron Dual Core 1.6GHz, 1.5GB RAM. XP on 60GB internal HDD,) a year old netbook (Acer Aspire One 722 with Windows 7 on internal 320 GB HDD, 2GB RAM and 1GHz dual core AMD Processor) and an HP Probook (2nd Generation i3 Quad Core 2.3 GHz, 4GB RAM, Windows 7 on internal 500GB HDD) but won't boot on my 6 month old Desktop (Compaq, 64 Bit 2.3Ghz Pentium Dual Core, 4GB RAM, Windows 8 on 500GB partition of 1TB HDD.) Neither computer has USB 3.0 ports. All I get is a message saying "Error Loading Operating System" after choosing the USB HDD in the BIOS menu. I can run gParted off a USB stick on both computers no problem.



I've tried with both Ubuntu 12.10 & 13.04 beta (I know its not supported here yet, but the problem is in the current version too) but nothing changed. Any ideas on how to fix this?

apt - How can I downgrade packages without removing their dependants?



I have a number of mesa packages that I had upgraded to a PPA version, before purging the PPA so I could upgrade my system. The differences in the versions are minor (they are technically the same, just one set of libraries were from git and the others are the final versions).



If I try to downgrade via Synaptic, apt-get, or aptitude, I get thrown into dependency hell.



Is there a way to downgrade the packages manually (perhaps one by one) and mark their dependant packages as immovable (if that makes sense) until I am done?




P.S. this question: How to Downgrade a Package via apt-get? is a bit different and doesn't help this situation.



I never played with this before, but I would suggest that you hold (or lock) the version of the dependencies that cause you trouble. This way apt has a more limited number of possible solutions, and perhaps doesn't get confused when you attempt to downgrade the other packages.






If nothing else works, you could take the manual approach suggested in this answer: How to Downgrade a Package via apt-get?. Basically, download the necessary .deb packages manually, then install them one by one using the lower-level dpkg and one of its forceful arguments: --ignore-depends, --force-depends, --force-depends-version, or even --force-all.



In the same spirit as the above, you have the --force-downgrade argument:




          downgrade(*): Install a package, even if newer version of
it is already installed.

Warning: At present dpkg does not do any dependency
checking on downgrades and therefore will not warn you if
the downgrade breaks the dependency of some other pack‐
age. This can have serious side effects, downgrading
essential system components can even make your whole sys‐
tem unusable. Use with care.



But this assumes that you've read man dpkg, and that you understand what you do:



          Warning: These options are mostly intended to be used  by
experts only. Using them without fully understanding
their effects may break your whole system.


See Error: version number does not start with digit and How to install an older version of Java and How to install a older version of package like liquid 2.2.2? for examples of:




sudo dpkg --force-downgrade -i your_mesa_package.deb


And see How can I install a package without installing some dependencies? for an example (along with the appropriate warning) of:



sudo dpkg --force-all -i your_mesa_package.deb






Yet another approach would be to create a dummy .deb package using the equivs package (and perhaps a slightly different name). Then installing the dummy package should allow you to remove the "true" package while keeping the relevant deps, and then install the older version. I'm not sure how exactly this would work, but check this relevant thread for details: How to remove a deb without removing its dependencies.


package management - Does Ubuntu have an equivalent to the AUR (Arch User Repository)?



Having just played around with Arch a little bit, the thing about it that impresses me the most about it is the AUR. With a tool like Yaourt, you can really easily install bleeding-edge software, some of which is from git, and it automatically compiles and installs it for you. Is there something like this for Ubuntu? I know about PPAs, but I don't really think they're an equivalent.



Edit: here's why I don't really think PPAs are the same as the AUR:





  • PPAs have compiled packages, while the AUR features both compiled packages and source packages, along with scripts for compiling them on any platform. This means that a PPA has to be maintained by someone who builds them, whereas with the AUR, uncompiled packages can be built on the user end.

  • Since PPAs are specific to the Ubuntu release, many PPAs are out of date. The packages would still work if the PPA maintainers would just update their PPAs to the latest version of Ubuntu, but often they go stale. Sometimes I've had to hack a PPA so that I can keep using the same package that worked in a previous release.

  • Many PPAs don't build properly, even though the projects are more or less stable. I'm thinking of FinalTerm, which mostly works, but the Ubuntu PPA almost never has passing builds, so it's impossible to install on Ubuntu without manually compiling.

  • PPAs don't seem have a rating system where users can vouch for working package repositories. I think this kind of consensus is very useful towards avoiding malware and/or non-working packages.

  • There are tons of AUR packages that come directly from GitHub, so installing a package like something-git will usually give you the latest package straight from GitHub. PPAs aren't updated dynamically like this, and so packages there are typically very out-of-date.



Yes, PPAs. That's the closest you can get right now. If you don't think they're equivalent enough for you, then the answer right now is simply "no". Some comments on your claimed differences:





PPAs have compiled packages, while the AUR features both compiled packages and source packages




PPAs ship source packages too. PPA uploads must be source uploads. Users can access both the source (for example they can rebuild the sources themselves), or binaries built from those sources.




Since PPAs are specific to the Ubuntu release, many PPAs are out of date.





This is true. However, users can quite easily copy a package from any PPA to their own PPAs, including to a different release, while choosing to rebuild them if necessary on the way. See the Package details -> Copy packages page. If there is anything that needs updating to work with a newer release then that won't work, but I presume that's the same with AUR.



In terms of PPAs being up to date, that is presumably simply a matter of volunteer time (who can do the same pocket copy as above), rather than any fundamental difference between PPAs and AUR.




Many PPAs don't build properly, even though the projects are more or less stable




Same answer as above. This has nothing to do with infrastructure or mechanism and everything to do with volunteer time.





PPAs don't seem have a rating system where users can vouch for working package repositories.




Agreed.




There are tons of AUR packages that come directly from GitHub, so installing a package like something-git will usually give you the latest package straight from GitHub.





You could arrange for this to happen automatically in a PPA, but I admit it is far from trivial to set up.




  1. Arrange for an automated VCS import from Github.

  2. Create a build recipe.



None of this is exactly the same, I'll grant you. If you want more ABS/AUR -like functionality in Ubuntu, I think you need to go into more detail of how exactly your proposed changes would work in terms of what Ubuntu already has.


Friday, January 3, 2020

Does "ubuntu core" os support ftp?

I am gathering information for my project about "Ubuntu core " OS feature
Please share infomation about FTP in Ubuntu core OS.
Does Ubuntu Core support FTP?

Unable to login after the Ubuntu 15.10 upgrade, logged out automatically

yesterday I have upgraded my laptop to Ubuntu 15.10 from ubuntu 15.04.

After the upgrade i am unable to login, just its logged out automatically.



I have tried these three desktop all returns same results.



What is not working?
1. Gnome Classic
2. Gnome
3. Ubuntu Desktop



what I have tried?

1. Tried to re-install the ubuntu-deskop and unity
2. Created another user, didn't work
3. Tried to remove Xauthority file



Laptop Model:
1. Lenovo G50-70 / AMD A6 CPU

games - why is minetest outdated in the Ubuntu repositories?

The Game Minetest in the ubuntu repositories is version 0.3.1 it has no been nearly a year since this release and version 0.4.5 has recently come out. Is there any reason why this is?

cleanup - How can I autoclean my gnome main menu?

I like to experiment with lots of different software in my Ubuntu install. Then, every time Ubuntu reaches a new release cycle, I simply do a clean install (instead of upgrading) to get rid of all the extra software (and their respective config files/folders). The only thing I always backup and carry to the next install (besides personal files) are the config files for gnome, so my desktop is always the way I like it. =)



The problem with that, is that the different packages I test out never get properly uninstalled, so my gnome main menu is full of broken links referring to software I had in previous installations (which got carried over because I kept the gnome config files).



Is there any automated way to go through my gnome main menu and remove any broken links? I know how to manually edit the menu, and I could go through it myself, but I'm looking for some script or package that will clean for me so I wouldn't have to do it manually every release cycle.

Lighter in CPU/Memory Usage: Lubuntu or Xubuntu


I am looking for an Ubuntu version that consumes less Memory and CPU. I have read both Lubuntu and Xubuntu (The homepages, wikipedia, phoronix and other sites comparing both). But from experience, which one uses less memory and is less CPU intensive. I need to install them in very old hardware and want to persuade the owner of the hardware of the benefits of Ubuntu.


in this case I want to install 11.10 or 12.04 when it comes out. How are each behaving in those versions?


The 2 PCs I will be installing either Xubuntu or Lubuntu are:


Granpa PC:


CPU - Pentium 2 450Mhz
RAM - 64MB DIMM
Video - 16MB
Used for - Documents and Internet. No listening to music, no looking at videos. Just using it for document writing.


The other old meat:


CPU - Pentium 3 550Mhz
RAM - 128MB DIMM
Video - 16MB
Used for - Documents and Internet also but they want.. or maybe they are wishing for it to use it to see movies and listen to music. This one has internet. The other one does not.


UPDATE


Wanted to update this question with the test results for over 8 months worth of using Lubuntu and Xubuntu. When it comes to very old hardware, am talking about 64 MB, 128 MB or even 256 MB of RAM computers, Lubuntu is better than Xubuntu when comparing Memory usage. When it comes to CPU usage, both are the same.


This will not improve I/O Disk performance which will be the bottleneck for old computers. Also the difference in performance between Xubuntu and Lubuntu is about 10% to 20% percent in memory usage. Again, CPU usage is the same.


Now, when it comes to how responsive the Desktop is, LXDE (Lubuntu) has a much better response time than XFCE (Xubuntu). I would say about 50% or just simply noticeable to the eye. Lubuntu is similar to how Windows XP looks while Xubuntu is more like how Gnome 2 looked.


The computers (The old ones mentioned here) and 2 more are still working in excellent conditions thanks to the Ubuntu family. I also want to add I am using 13.10 for both distros.



Your case studies are indeed challenging.




Take your Grandpa PC


Pentium 2 and 64Mb RAM.


Lubuntu minimum requirements are 128Mb if using the alternate installer - 256Mb for the Graphical installer.


The recommended RAM is 384Mb just to run the LiveCD.


Therefore - I'm afraid, you will not be able to install a graphical environment on Grandpa PC. At best you might get a text only "server" type install via a minimal ISO - i.e. you need a minimum of 64Mb to run the minimal CD.




The "old meat":


That is more promising:


Pentium 3 with 128Mb RAM - you should be able to squeeze on Lubuntu via its alternate CD.


However the minimum requirement for Xubuntu is 256Mb with 512Mb as a recommended RAM size.


I've experimented with various "low" RAM installs. I've never tried 128Mb - but in general, I install from a minimal ISO CD and install various components manually - for example, SLIM, LXDE with apt-get install --no-install-recommends to ensure no excess packages are installed.


Typical packages you should look out for if you go this route are described in the linked question below.


Stick with a lightweight browser such as midori - abiword should be ok for wordprocessing.


Flash and general movies will struggle with your video card. However playing music should be fine (see below)




Links:



  1. https://help.ubuntu.com/community/Installation/MinimalCD

  2. How do I install LXDE / Lubuntu?

  3. Lightweight music player


drivers - install brother printer

I have a Brother HL-1110 printer connected to my computer, it was working well although it took me long time to install it in first place


suddenly it stopped responding, and the small icon in the upper left corner of the screen that shows print jobs stopped appearing.


I tried to uninstall the package and install it again, although I know nothing about using the Terminal.


no progress, in addition to that now when I try to open the printer from the System Settings -> Printers -> Select Device , I get this message:


System Problem detected
Do youo want to report the problem now?

enter image description here


I'm using Toshiba TeCRA with Ubuntu 16.04 LTS


I need to reinstall the printer that's it


I tried to follow the official Brother instructions, I got the following:


Fetched 2,547 kB in 21s (116 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32ncurses5 lib32z1


E: Package 'ia32-libs' has no installation candidate
dpkg -x hl1110lpr-3.0.1-1.i386.deb /
dpkg -x hl1110cupswrapper-3.0.1-1.i386.deb /
(Reading database ... 272286 files and directories currently installed.)
Removing hl1110cupswrapper:i386 (3.0.1-1) ...
Purging configuration files for hl1110cupswrapper:i386 (3.0.1-1) ...
dpkg-deb: building package 'hl1110lpr' in 'hl1110lpr-3.0.1-1a.i386.deb'.
dpkg -b ./brother_driver_packdir hl1110lpr-3.0.1-1a.i386.deb
dpkg-deb: building package 'hl1110cupswrapper' in 'hl1110cupswrapper-3.0.1-1a.i386.deb'.
dpkg -b ./brother_driver_packdir hl1110cupswrapper-3.0.1-1a.i386.deb
dpkg -i --force-all hl1110lpr-3.0.1-1a.i386.deb
(Reading database ... 272284 files and directories currently installed.)
Preparing to unpack hl1110lpr-3.0.1-1a.i386.deb ...
Unpacking hl1110lpr:i386 (3.0.1-1) over (3.0.1-1) ...
Setting up hl1110lpr:i386 (3.0.1-1) ...
dpkg -i --force-all hl1110cupswrapper-3.0.1-1a.i386.deb
Selecting previously unselected package hl1110cupswrapper:i386.
(Reading database ... 272284 files and directories currently installed.)
Preparing to unpack hl1110cupswrapper-3.0.1-1a.i386.deb ...
Unpacking hl1110cupswrapper:i386 (3.0.1-1) ...
Setting up hl1110cupswrapper:i386 (3.0.1-1) ...
lpinfo: cups-deviced failed to execute.
lpadmin -p HL1110 -E -v usb://dev/usb/lp0 -P /usr/share/ppd/brother/brother-HL1110-cups-en.ppd
lpadmin: Bad device-uri scheme "usb".


#########################ls: cannot access '/usr/share/ppd/*.ppd': No such file or directory

#
lpinfo: cups-deviced failed to execute.


0 (I): Specify IP address.
1 (A): Auto. (usb://dev/usblp0)


select the number of destination Device URI. ->1


lpadmin -p HL1110 -v usb://dev/usblp0 -E -P /usr/share/cups/model/brother-HL1110-cups-en.ppd
lpadmin: Bad device-uri scheme "usb".
Test Print? [y/N] ->y


wait 5s.
echo HL1110 \| lpr -P HL1110


What does it mean "lpinfo: cups-deviced failed to execute**", "lpadmin: Bad device-uri scheme "usb"."


what should I do now?

Mount a 4TB NTFS Drive



I have a 4 TB harddrive currently formatted in NTFS for windows.



I'm looking at moving my desktop machine to Ubuntu from Windows 7.




I would prefer to not have to change the file system, since I'll be dual booting for a while, I don't have a duplicate drive to save the data to while formatting, and I'm not sure I'll be staying with Ubuntu.



This is not my OS drive. It is a secondary storage disk. The Ubuntu OS partition(s) can be formatted however Ubuntu prefers.



What is the best way to handle this situation? Particular questions:




  1. Can GNU/Linux/Ubuntu cleanly read and write NTFS? I saw that there were some issues as recently as 2012. Have these been resolved?


  2. Are there issues with mounting a >2TB NTFS drive? I wasn't able to mount it when working from a live USB disc, but I'm not sure if this problem would go away with an actual install.





Thank you!



There are many people running they Linux including Ubuntu, along side their Windows and have no problem in using NTFS.



The most common problem you might face is that you cannot mount it for Read/Write if you hibernate in Windows (in case of Windows 10, both fast boot and hibernation should be disabled)



You don't need to be worried if you are not going to do something special which needs file permission, you can use your NTFS partitions normally in your Ubuntu.




To know about how to mount, of course you need to go thtough regular procedure. There is no major difference. Usually Ubutnu can automatically detect the format and mount it properly.



Till now, I‌ haven't seen any cases other than what I mentioned above that you cannot mount your NTFS pertitions. Yet, you can ask a separate question and share details (like error you got while mounting) so someone can help you to sort it out. There is no difference between mounting a partition in live or fully installed Ubuntu


Thursday, January 2, 2020

system installation - Ubuntu 16.10 Dual Boot error - 'grub-efi-amd64-signed' package failed to install

I'm currently trying to dual boot Ubuntu 16.10 alongside Windows 10 on a Dell XPS 13 (series 7).



I've basically followed this guide! which involves:



1.) Changing from IDE to AHCI mode

2.) Enabling 'UEFI Network Stack' via the BIOS
3.) Booting via USB - (with Ubuntu Boot disk created via Rufus or Etcher)
4.) Installing Ubuntu via USB



Install hums along as per usual until it comes to installing Grub where it shows an error:




"The 'grub-efi-amd64-signed' package failed to install into /target/.
Without the GRUB boot load, the installed system will not boot."





This is a new laptop so I haven't installed Ubuntu on the machine yet, but I have installed it on old laptops and am reasonably familiar with the setup process so I've tried a number of alternative solutions including:
- ensuring updates are downloaded during the install
- specifying the install partitions for the root, swap and boot
- Installing via DVD instead of USB
- Making a sandwich



Anyway, I haven't had any luck and would be grateful for suggestions/ideas as after a lot of googling I'm out of them.



EDIT:




Okay, so I've managed to get it working after a lot of trial and error.



Unfortunately I'm not sure if it provides useful information for others who might experience the same issue.



Here are the steps I took:




  1. Suspecting it may be an issue with Ubuntu 16.10, I undertook the painful process of downloading 16.04 (LTS). - painful due to my slow internet -

  2. I updated my BIOS and Hard drive (Toshiba NVMe) firmware from the Dell website (Dell XPS 13 9360).


  3. Delete the old ubuntu EFI entries via Windows (in case it was causing the error).

  4. Installing Ubuntu 16.04 via USB (UEFI mode) - made it past previous GRUB error above, but received error "'grub-install /dev/nvme failed. This is a fatal error.'". Installation halted.

  5. Launched live-usb and repaired grub via 'Boot Repair' with 'secure-boot' unchecked in the 'advanced' option.



This worked.



No idea if my computer is likely to explode, but everything seems fine.



Btw, this has been reported by a number of other users eg example 1 and example 2




EDIT 2:



One other thing I had to do (possibly as the install halted early) was check and replace/repair missing files via instructions below:
Find (and reinstall) packages with corrupted files (without breaking anything)

Games for Windows

i`m newbie in using Ubuntu, have wubi right now.
Know basic, but idc if i can instail windows online games (such as League of Legends) on ubuntu and use it without problems.
Can u help me?

SSH as root login - GoDaddy VPS



I'm having trouble finding the solution to my problem, which I believe is just a noob thing. I've just set up my first VPS using WHM and CPanel. I'm using Putty for SSH access.




I can login to SSH with my CPanel account (not root account). I need to configure some files that I believe are only accessible as the root/sudo user, such as: /etc/ssh/sshd_config among others. From WHM under SSH Password Authorization Tweak, it says that Password Authentication is enabled, but I cannot login as root via SSH. I get access denied. I also cannot sudo su my regular acct because it says the user is not in the sudoers file. I can't add them to the file because I don't have access to it without logging in as the root user.



Finally, I have tried using SSH keys set up via WHM, but the server refuses the signature despite accepting accepting the key and then asks me for root password, where I once again get Access Denied.



How am I supposed to change files that only the root/sudo user have access to but I cannot SSH as root or sudo user without initial root access?? This is nuts. I really think I'm missing something obvious here, but I just don't know what. Thanks so much for your help.



This is kind of lame in my opinion to be an actual solution to the problem, but I did finally figure out how to login to my account with root access. I am hosting with GoDaddy and when you set up your virtual private server with them, you are asked to create a user for your server, which I did. What I did not realize when performing this step is that the username I selected would also be the username I needed to use in ssh for root access. I was trying to log in with root as the username and failing. When I finally tried logging in with the username that GoDaddy asked me for when creating my VPS, I was able to login with root access. I decided to post my answer in case anyone else runs into this very issue. I also added "GoDaddy" to my question realizing that this issue could be isolated to the way they set you up with a VPS (and don't support btw).



Many thanks to @ulovah for all your help. You helped me rule out many possibilities.


18.04 - Ubuntu boots to a black screen with [ OK ] statuses

I got this and I have no idea what it is or how to deal with it.
Can someone help me?



enter image description here

Nvidia drivers Ubuntu 18.04 - Dell G5 15

had many issues getting Ubuntu up an running on this laptop. Initially there was issues with secure-boot (which is now off), and following that the installer was failing with "allow proprietary drivers" checked.



Effectively I now cannot get the graphics drivers to install properly. I tried various versions, and though according to nvidias site, nvidia-430 should work, I've found that nvidia-396 is the only thing that doesn't break xorg - that being said when active, checking ScreenFetch and "about" it still shows my GPU as Intel.



nvidia-settings appears to switch between the two fine. But nvidia-smi can't communicate with the driver, so something must be going wrong, and intel is being used as a fallback.



Can anybody help me diagnose why things are failing?






cat /etc/default/grub



# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'


GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash quiet acpi_rev_override=1 acpi_osi=Linux nouveau.modeset=0 pcie_aspm=force drm.vblankoffdelay=1 scsi_mod.use_blk_mq=1 nouveau.runpm=0 mem_sleep_default=deep pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)

#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480


# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



nvidia-smi



NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.


ps -efly | grep Xorg



S root      6104  1516  2  80   0 34668 106513 -     23:23 tty7     00:00:15 /usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
S nemo 13827 13527 0 80 0 1096 5384 pipe_w 23:35 pts/3 00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn Xorg



cat /var/log/gpu-manager.log



log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
can't access /run/u-d-c-nvidia-was-loaded file
can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
Looking for nvidia modules in /lib/modules/4.19.14-041914-generic/updates/dkms
Looking for amdgpu modules in /lib/modules/4.19.14-041914-generic/updates/dkms

Is nvidia loaded? no
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is amdgpu loaded? no
Is amdgpu blacklisted? no
Is amdgpu versioned? no
Is amdgpu pro stack? no

Is nouveau loaded? no
Is nouveau blacklisted? yes
Is nvidia kernel module available? no
Is amdgpu kernel module available? no
Vendor/Device Id: 8086:3e9b
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:1c20
BusID "PCI:1@0:0:0"
Is boot vga? no

Error: can't access /sys/bus/pci/devices/0000:01:00.0/driver
The device is not bound to any driver.
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card0", driven by "i915"
Found "/dev/dri/card0", driven by "i915"
output 0:
card0-eDP-1
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes

last cards number = 2
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
Has the system changed? No
Intel IGP detected
Desktop system detected
or laptop with open drivers
Nothing to do



xorg.conf



# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 430.26


Section "ServerLayout"
Identifier "Layout0"

Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"


# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"


# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"

Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"

Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection



.xsession-errors



us-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:0
dbus-update-activation-environment: setting XAUTHORITY=/home/nemo/.Xauthority
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting LANG=en_GB.UTF-8
dbus-update-activation-environment: setting GDM_LANG=en_GB
dbus-update-activation-environment: setting DISPLAY=:0

dbus-update-activation-environment: setting MANDATORY_PATH=/usr/share/gconf/i3.mandatory.path
dbus-update-activation-environment: setting S_COLORS=auto
dbus-update-activation-environment: setting XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/nemo
dbus-update-activation-environment: setting USER=nemo
dbus-update-activation-environment: setting DESKTOP_SESSION=i3
dbus-update-activation-environment: setting DEFAULTS_PATH=/usr/share/gconf/i3.default.path
dbus-update-activation-environment: setting PWD=/home/nemo
dbus-update-activation-environment: setting HOME=/home/nemo
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11

dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/i3:/usr/local/share:/usr/share:/var/lib/snapd/desktop
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=i3
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting SHELL=/usr/bin/zsh
dbus-update-activation-environment: setting XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=i3
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting LANGUAGE=en_GB:en

dbus-update-activation-environment: setting GDMSESSION=i3
dbus-update-activation-environment: setting LOGNAME=nemo
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XAUTHORITY=/home/nemo/.Xauthority
dbus-update-activation-environment: setting XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session2
dbus-update-activation-environment: setting XDG_CONFIG_DIRS=/etc/xdg/xdg-i3:/etc/xdg
dbus-update-activation-environment: setting PATH=/home/nemo/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment
polybar|warn: The config parameter `bar/top.border-bottom` is deprecated, use `bar/top.border-bottom-size` instead.

polybar|error: Disabling module "xworkspaces" (reason: Missing parameter "module/xworkspaces.type")
polybar|error: Disabling module "wireless-network" (reason: Invalid network interface "net1")
polybar|error: Disabling module "wireless-network" (reason: Invalid network interface "net1")
polybar|error: Disabling module "wired-network" (reason: Invalid network interface "net0")
polybar|error: Failed to restack bar window
[7456:7456:0720/232429.787615:ERROR:sandbox_linux.cc(368)] InitializeSandbox() called with multiple threads in process gpu-process.
[7409:7448:0720/232429.856252:ERROR:data_store_impl.cc(131)] Failed to open Data Reduction Proxy DB: 3
[7456:7456:0720/232430.015873:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[7456:7456:0720/232536.625368:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[7456:7456:0720/232754.931509:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command

[7456:7456:0720/232758.093049:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[7456:7456:0720/232803.960556:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[7456:7456:0720/232805.870369:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[7456:7456:0720/233028.760073:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command


edit:



Confirmed the above I believe, by running commands in TTY after installing the 430 driver. Note that there is no GUI at all here.




Sun Jul 21 01:03:43 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.26 Driver Version: 430.26 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 106... Off | 00000000:01:00.0 Off | N/A |
| N/A 55C P8 5W / N/A | 8MiB / 6078MiB | 0% Default |
+-------------------------------+----------------------+----------------------+


+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1583 G /usr/lib/xorg/Xorg 5MiB |
+-----------------------------------------------------------------------------+


ps -efly | grep Xorg




S root      1583  1487  0  80   0 48580 65741 -      01:00 tty7     00:00:00 /usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
S nemo 7027 4954 0 80 0 940 5384 pipe_w 01:06 tty4 00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn Xorg


Edit:



Happy to provide any additional details that may be of use for anybody. Need this so that I can get my second monitor working for work.



Update:




Still had no luck. I think the main issue is I don't know what logs to read.



Edit: A few others are having the same issue over at https://ubuntuforums.org/showthread.php?t=2423396



Edit: additional logs



Xorg.0.log
https://pastebin.com/FKh3C9Ta




Sun Aug 11 20:27:54 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.40 Driver Version: 430.40 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 106... Off | 00000000:01:00.0 Off | N/A |
| N/A 51C P8 5W / N/A | 8MiB / 6078MiB | 0% Default |
+-------------------------------+----------------------+----------------------+


+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1555 G /usr/lib/xorg/Xorg 5MiB |
+-----------------------------------------------------------------------------+




And also I get the output PKCS#7 signature not signed with a trusted key during booy.

Wednesday, January 1, 2020

12.04 - Windows "Problem" after installing Ubuntu, what is it?

I saw Ubuntu 12.04 yesterday and decided to install it.



First I went to the BIOS, then selected Security> I / O interface Security> New interface card and set it to locked. This is the only way I can get into Ubuntu.



Next I installed Ubuntu the usual way. It worked great(except for the login sound; I missed it).



Then I went booting into Windows 7. The Windows logo kept spinning as usual, then it stopped. Next my computer restarted itself and said that there is a "problem" with Windows so I have to run the Windows recovery partition to repair. Then it goes through a 1-hour long process and restarted again. I chose Windows from the GRUB menu and Windows booted.




The question is: What is the anonymous problem that happened to Windows? I am planning to re-install Ubuntu now (because I messed with the boot screen, now it's gone and shutting down takes forever) and I don't want to run into that problem again.



Any help will be appreciated.



Edit: Re installed Ubuntu and this time nothing happens.



Specs: ASUS F81Se, Windows 7 Dual-boot

system installation - USB drive install of Ubuntu 12.04 Server fails - can't find components from CD-ROM




I'm trying to install Ubuntu 12.04 Server (32bit) on a machine here using a USB stick. I used the Universal-USB-Installer-1.8.9.4 which has support for 12.04 server to get the ISO onto the USB drive.




  1. The computer boots up the installation process ok.

  2. It gets through the Ubuntu language, locale and keyboard selection.

  3. Then starts loading additional components. At this point it gets about a quarter of the way through then throws big error message saying:





[!!] Load installer components from CD



There was a problem reading data from the CD-ROM. Please make sure it
is in the drive. If retrying does not work., you should check the
integrity of your CD-ROM.



Failed to copy file from CD-ROM. Retry?






cd rom error with purple background



Retrying obviously fails as well. Have tried re-running again and installing again onto the USB but no change. Have tried checking for CD-ROM integrity errors and it breaks on this error:




[!] Check the CD-ROM(s) integrity



Integrity test failed



The

./pool/main/l/linux/fs-secondary-modules-3.2.0-23-generic-pae-di_3.2.0-23.36_i386.
file failed the MD5 checksum verification. Your CD-ROM or this file
may have been corrupted.





enter image description here



Have also tried the Ubuntu-Server 12.04 LTS (Precise Pangolin) daily build. No go there. Even checked the iso SHA1 hashes and they match.




Have tried LinuxLive USB Creator 2.8.11 and unetbootin-windows-575 to see if it was an image with the USB drive software but still no go.



Any ideas?



It seems there are some naming errors with the files under \pool\main\l\linux (I found false extensions *.ude instead of *.udeb there) and a MD5-Checksum error with ./install/netboot/ubuntu-installer/i386/pxelinux.cfg/default). After fixing these errors I'm able to install the 32-bit Server Edition.


How can I boot two of the same Ubuntu distribution from the same internal hard drive? (Installation choices?)

I'm attempting to load Windows 10 and two different installations of 16.04 LTS (with potentially other distributions in the future). I've installed Win10, 16.04 v1 and 16.04 v2, but when I run sudo update-grub only the installation of 16.04 v2 is detected and added to the boot.cfg file. Why isn't 16.04 v1 detected, and what's the simplest way to install multiple distributions of Linux such that they will be detected [by GRUB2]?



I've tried the following:





  • Add /boot as partition 1

  • Install Windows (using defaults)

  • Install Ubuntu v1 (selecting partition 4 as / and bootloader on /dev/sda)

  • Install Ubuntu v2 (selecting partition 5 as / and bootloader on /dev/sda)



This failed because I could only update grub successfully from Ubuntu v2, (partition 5) and I wanted to use Ubuntu v1 as the default install.



Then I tried:





  • Add /boot as partition 1

  • Install Windows (using defaults)

  • Install Ubuntu v1 (selecting partition 4 as / and bootloader on /dev/sda)

  • Install Ubuntu v2 (selecting partition 5 as / and bootloader on /dev/sda5)



This failed because now I can only update grub from Ubuntu v2 (partition 5), and it doesn't successfully detect the installation on partition 4.




All that being said, how can I install subsequent distributions (after the first Ubuntu install) and not have them gobble up the grub install? Did I mess something up when choosing where to put the bootloader during installation? (See below for detailed installation steps)








Installation steps I used:




  1. Boot from Ubuntu Live USB (16.04.4 LTS).


  2. Using gparted, write new GPT to SSD and add boot partition (1GiB) to the start of the SSD. (Shutdown)

  3. Boot from Win10 Installation USB.

  4. Install Windows 10 (Pro 64bit, if it matters). (Shutdown)

  5. Boot into Ubuntu Live USB, selecting Try Ubuntu.

  6. Using gparted, adding partitions as follows:


    • (partition number, size, label)

    • 4, 50 GB, ubuntu1

    • 5, 20 GB, ubuntu2


    • 6, 33 GB, isos

    • ...(last), 9 GB, swap


  7. Install Ubuntu, selecting Something else and designating partition 4 for / of the first installation of Ubuntu.


    • The bootloader installs in the default spot on /dev/sda, over writing the windows bootloader. Remove installation media and shutdown.


  8. Boot Ubuntu v1 to make sure it works ... success. (Shutdown)

  9. Boot to Windows (selecting via GRUB at boot time) to make sure it works ... success. (Shutdown)





From here I've tried two different methods, both are failing...



Method 1




  1. Boot into Ubuntu Live USB, selecting Try Ubuntu.


  2. Click Install Ubuntu selecting Something else.


    • Designate partition 5 for / for this second installation of Ubuntu.


  3. Leave bootloader settings alone and install.



Result: Bootloader is associated with partition 5, not partition 4.




Method 2




  1. Boot into Ubuntu Live USB, selecting Try Ubuntu.

  2. Click Install Ubuntu selecting Something else.


    • Designate partition 5 for / for this second installation of Ubuntu.


  3. Tell bootloader to install to /dev/sda5 in hopes the MBR and current boot setup are left alone.




Result: Bootloader is associated with partition 5, not partition 4, and the ubuntu installation on partition 4 isn't detected during update-grub






Side note: Yes, I am using sudo update-grub when running update-grub. I've also tried sudo update-grub2 and gotten the same results.
This is a Dell XPS 13 9360 with UEFI, if it matters.

ati - AMD Drivers for HD4890 on Ubuntu 15.04


I have Ubuntu 15.04, I need someone to explain me how to install amd drivers for my graphic card on Ubuntu 15.04



There are no proprietary drivers for this GPU. Open drivers are already installed.
So there is nothing to install.


server - Automatic kernel reload after Update



I have been managing a Ubuntu Server 8.04 for quite some time now. On top of it I am running a VMWare Server Edition, which needs to recompile it's modules whenever a new kernel is installed. For that I'm executing: sudo vmware-config.pl



Until now, whenever a new version of the kernel was available I installed it, rebooted the system and rebuild the modules. But now I realized - rather by accident -, that rebuilding those kernel modules even worked without rebooting the system. VMWare is even able to startup again after that. That made me curious. I entered uname -r to see the kernel version, which showed me exactly the version I installed right before without rebooting the system.




The Manpages for uname are not exactly detailed on what is actually printed, but so far I thought it printed the actually running kernel version.



My question now is: Is it really possible the kernel reloads itself without rebooting? I did not install ksplice or a similar tool. From what I get it is now even in the repositories for Ubuntu Server 8.04. What's going on with my system? Do I have to reboot after the kernel update or not? What does uname -r print? Is the Ubuntu Server Edition shipped with a program similar to ksplice? I never read anything about a feature like that!



I checked what kees told me to do:



uname -r
2.6.24-28-server



The file in proc gave:



cat /proc/version_signature
Ubuntu 2.6.24-28.75-server


And dpkg:



dpkg -l 'linux-image*' | grep ^.i

ii linux-image-2.6.24-28-server 2.6.24-28.80


Obviously I should do a reboot then :)
Thanks for the detailed information!



The output of uname -r only shows the version up to the "ABI" number, but there can be revisions of the ABI. Only when the ABI changes do third-party modules need to be recompiled.



For more details about what you're running, read the file /proc/version_signature:




cat /proc/version_signature
Ubuntu 2.6.24-28.80-generic


This will show the kernel package version you're currently running which may differ from the most recently installed kernel. For example, in the above, the ABI is "28", which is as much as uname -r will show:



uname -r
2.6.24-28-generic



Then you can see what you have installed with dpkg:



dpkg -l 'linux-image*' | grep ^.i
ii linux-image-2.6.24-27-generic 2.6.24-27.69 Linux kernel image for version 2.6.24 on x86
ii linux-image-2.6.24-28-generic 2.6.24-28.80 Linux kernel image for version 2.6.24 on x86
ii linux-image-generic 2.6.24.28.30 Generic Linux kernel image


In the above case, if the next kernel package that got installed was versioned as 2.6.24-28.81, it would only be the "micro release" that changed. Since module compilations are tied to the ABI, no recompilation is needed, but you still need to reboot to get the kernel fixes. If the next kernel installed was versioned as 2.6.24-29.81, then the ABI will have changed, and you'll need to recompile modules after you've rebooted.




For more details about the ABI, see https://wiki.ubuntu.com/KernelTeam/BuildSystem/ABI


apt - Can't install software from Software Center


I cant install anything from software centre, I get this error every time I click on install, "Require installation packages"


Here is my output of sudo apt get update


[sudo] password for gaurav:
Hit http://security.ubuntu.com maverick-security Release.gpg
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Get:1 http://deb.opera.com stable Release.gpg [189B]
Ign http://deb.opera.com/opera/ stable/non-free Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en_IN
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en_IN
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en_IN
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en_IN
Hit http://security.ubuntu.com maverick-security Release
Ign http://deb.opera.com/opera/ stable/non-free Translation-en_IN
Hit http://deb.opera.com stable Release
Get:2 http://dl.google.com stable Release.gpg [189B]
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en
Ign http://dl.google.com/linux/talkplugin/deb/ stable/main Translation-en_IN
Hit http://download.virtualbox.org maverick Release.gpg
Hit http://security.ubuntu.com maverick-security/main Sources
Ign http://deb.opera.com stable/non-free i386 Packages
Get:3 http://dl.google.com stable Release [1,338B]
Get:4 http://ppa.launchpad.net maverick Release.gpg [307B]
Ign http://ppa.launchpad.net/bean123ch/burg/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/bean123ch/burg/ubuntu/ maverick/main Translation-en_IN
Ign http://download.virtualbox.org/virtualbox/debian/ maverick/non-free Translation-en
Ign http://download.virtualbox.org/virtualbox/debian/ maverick/non-free Translation-en_IN
Hit http://security.ubuntu.com maverick-security/restricted Sources
Hit http://security.ubuntu.com maverick-security/universe Sources
Hit http://security.ubuntu.com maverick-security/multiverse Sources
Hit http://security.ubuntu.com maverick-security/main i386 Packages
Hit http://security.ubuntu.com maverick-security/restricted i386 Packages
Ign http://deb.opera.com stable/non-free i386 Packages
Hit http://security.ubuntu.com maverick-security/universe i386 Packages
Hit http://security.ubuntu.com maverick-security/multiverse i386 Packages
Err http://extras.ubuntu.com maverick Release.gpg
Could not connect to extras.ubuntu.com:80 (91.189.88.33). - connect (110: Connection timed out)
Err http://archive.canonical.com maverick Release.gpg
Could not connect to archive.canonical.com:80 (91.189.88.33). - connect (110: Connection timed out)
Err http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en
Unable to connect to extras.ubuntu.com:http:
Err http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en_IN
Unable to connect to extras.ubuntu.com:http:
Err http://archive.canonical.com/ubuntu/ maverick/partner Translation-en
Unable to connect to archive.canonical.com:http:
Err http://archive.canonical.com/ubuntu/ maverick/partner Translation-en_IN
Unable to connect to archive.canonical.com:http:
Ign http://extras.ubuntu.com maverick Release
Ign http://archive.canonical.com maverick Release
Ign http://extras.ubuntu.com maverick/main Sources/DiffIndex
Ign http://archive.canonical.com maverick/partner Sources/DiffIndex
Ign http://extras.ubuntu.com maverick/main i386 Packages/DiffIndex
Ign http://archive.canonical.com maverick/partner i386 Packages/DiffIndex
Ign http://extras.ubuntu.com maverick/main Sources
Ign http://archive.canonical.com maverick/partner Sources
Ign http://archive.canonical.com maverick/partner i386 Packages
Ign http://extras.ubuntu.com maverick/main i386 Packages
Ign http://archive.canonical.com maverick/partner Sources
Ign http://extras.ubuntu.com maverick/main Sources
Ign http://archive.canonical.com maverick/partner i386 Packages
Ign http://extras.ubuntu.com maverick/main i386 Packages
Err http://archive.canonical.com maverick/partner Sources
Unable to connect to archive.canonical.com:http:
Err http://extras.ubuntu.com maverick/main Sources
Unable to connect to extras.ubuntu.com:http:
Err http://archive.canonical.com maverick/partner i386 Packages
Unable to connect to archive.canonical.com:http:
Err http://extras.ubuntu.com maverick/main i386 Packages
Unable to connect to extras.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick Release.gpg
Could not connect to in.archive.ubuntu.com:80 (111.91.91.37). - connect (110: Connection timed out)
Err http://in.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_IN
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_IN
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en_IN
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_IN
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick-updates Release.gpg
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en_IN
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en_IN
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en_IN
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en_IN
Unable to connect to in.archive.ubuntu.com:http:
Ign http://in.archive.ubuntu.com maverick Release
Ign http://in.archive.ubuntu.com maverick-updates Release
Ign http://in.archive.ubuntu.com maverick/main Sources/DiffIndex
Ign http://in.archive.ubuntu.com maverick/restricted Sources/DiffIndex
Ign http://in.archive.ubuntu.com maverick/universe Sources/DiffIndex
Ign http://in.archive.ubuntu.com maverick/multiverse Sources/DiffIndex
Ign http://in.archive.ubuntu.com maverick/main i386 Packages/DiffIndex
Ign http://in.archive.ubuntu.com maverick/restricted i386 Packages/DiffIndex
Ign http://in.archive.ubuntu.com maverick/universe i386 Packages/DiffIndex
Ign http://in.archive.ubuntu.com maverick/multiverse i386 Packages/DiffIndex
Ign http://in.archive.ubuntu.com maverick-updates/main Sources/DiffIndex
Ign http://in.archive.ubuntu.com maverick-updates/restricted Sources/DiffIndex
Ign http://in.archive.ubuntu.com maverick-updates/universe Sources/DiffIndex
Ign http://in.archive.ubuntu.com maverick-updates/multiverse Sources/DiffIndex
Ign http://in.archive.ubuntu.com maverick-updates/main i386 Packages/DiffIndex
Ign http://in.archive.ubuntu.com maverick-updates/restricted i386 Packages/DiffIndex
Ign http://in.archive.ubuntu.com maverick-updates/universe i386 Packages/DiffIndex
Ign http://in.archive.ubuntu.com maverick-updates/multiverse i386 Packages/DiffIndex
Ign http://in.archive.ubuntu.com maverick/main Sources
Ign http://in.archive.ubuntu.com maverick/restricted Sources
Ign http://in.archive.ubuntu.com maverick/universe Sources
Ign http://in.archive.ubuntu.com maverick/multiverse Sources
Ign http://in.archive.ubuntu.com maverick/main i386 Packages
Ign http://in.archive.ubuntu.com maverick/restricted i386 Packages
Ign http://in.archive.ubuntu.com maverick/universe i386 Packages
Ign http://in.archive.ubuntu.com maverick/multiverse i386 Packages
Ign http://in.archive.ubuntu.com maverick-updates/main Sources
Ign http://in.archive.ubuntu.com maverick-updates/restricted Sources
Ign http://in.archive.ubuntu.com maverick-updates/universe Sources
Ign http://in.archive.ubuntu.com maverick-updates/multiverse Sources
Ign http://in.archive.ubuntu.com maverick-updates/main i386 Packages
Ign http://in.archive.ubuntu.com maverick-updates/restricted i386 Packages
Ign http://in.archive.ubuntu.com maverick-updates/universe i386 Packages
Ign http://in.archive.ubuntu.com maverick-updates/multiverse i386 Packages
Ign http://in.archive.ubuntu.com maverick/main Sources
Ign http://in.archive.ubuntu.com maverick/restricted Sources
Ign http://in.archive.ubuntu.com maverick/universe Sources
Ign http://in.archive.ubuntu.com maverick/multiverse Sources
Ign http://in.archive.ubuntu.com maverick/main i386 Packages
Ign http://in.archive.ubuntu.com maverick/restricted i386 Packages
Ign http://in.archive.ubuntu.com maverick/universe i386 Packages
Ign http://in.archive.ubuntu.com maverick/multiverse i386 Packages
Ign http://in.archive.ubuntu.com maverick-updates/main Sources
Ign http://in.archive.ubuntu.com maverick-updates/restricted Sources
Ign http://in.archive.ubuntu.com maverick-updates/universe Sources
Ign http://in.archive.ubuntu.com maverick-updates/multiverse Sources
Ign http://in.archive.ubuntu.com maverick-updates/main i386 Packages
Ign http://in.archive.ubuntu.com maverick-updates/restricted i386 Packages
Ign http://in.archive.ubuntu.com maverick-updates/universe i386 Packages
Ign http://in.archive.ubuntu.com maverick-updates/multiverse i386 Packages
Err http://in.archive.ubuntu.com maverick/main Sources
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick/restricted Sources
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick/universe Sources
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick/multiverse Sources
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick/main i386 Packages
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick/restricted i386 Packages
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick/universe i386 Packages
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick/multiverse i386 Packages
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick-updates/main Sources
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick-updates/restricted Sources
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick-updates/universe Sources
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick-updates/multiverse Sources
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick-updates/main i386 Packages
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick-updates/restricted i386 Packages
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick-updates/universe i386 Packages
Unable to connect to in.archive.ubuntu.com:http:
Err http://in.archive.ubuntu.com maverick-updates/multiverse i386 Packages
Unable to connect to in.archive.ubuntu.com:http:
Hit http://deb.opera.com stable/non-free i386 Packages
Hit http://download.virtualbox.org maverick Release
Get:5 http://dl.google.com stable/main i386 Packages [613B]
Get:6 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/am-monkeyd/nautilus-elementary-ppa/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/am-monkeyd/nautilus-elementary-ppa/ubuntu/ maverick/main Translation-en_IN
Get:7 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu/ maverick/main Translation-en_IN
Get:8 http://ppa.launchpad.net maverick Release.gpg [316B]
Hit http://download.virtualbox.org maverick/non-free i386 Packages
Ign http://ppa.launchpad.net/chromium-daily/stable/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/chromium-daily/stable/ubuntu/ maverick/main Translation-en_IN
Get:9 http://ppa.launchpad.net maverick Release.gpg [307B]
Ign http://ppa.launchpad.net/crebs/ppa/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/crebs/ppa/ubuntu/ maverick/main Translation-en_IN
Get:10 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/docky-core/ppa/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/docky-core/ppa/ubuntu/ maverick/main Translation-en_IN
Get:11 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/flozz/flozz/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/flozz/flozz/ubuntu/ maverick/main Translation-en_IN
Get:12 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/loneowais/ppa/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/loneowais/ppa/ubuntu/ maverick/main Translation-en_IN
Get:13 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/shutter/ppa/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/shutter/ppa/ubuntu/ maverick/main Translation-en_IN
Get:14 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/tiheum/equinox/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/tiheum/equinox/ubuntu/ maverick/main Translation-en_IN
Get:15 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/tualatrix/ppa/ubuntu/ maverick/main Translation-en_IN
Get:16 http://ppa.launchpad.net maverick Release.gpg [316B]
Ign http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ maverick/main Translation-en_IN
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Get:17 http://ppa.launchpad.net maverick Release [57.3kB]
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Ign http://ppa.launchpad.net maverick Release
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Get:18 http://ppa.launchpad.net maverick/main Sources [352B]
Get:19 http://ppa.launchpad.net maverick/main i386 Packages [779B]
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main i386 Packages
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main i386 Packages
Fetched 64.5kB in 5min 51s (184B/s)
W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FC6D7D9D009ED615
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/Release.gpg Could not connect to in.archive.ubuntu.com:80 (111.91.91.37). - connect (110: Connection timed out)
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/main/i18n/Translation-en.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/main/i18n/Translation-en_IN.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/i18n/Translation-en.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/i18n/Translation-en_IN.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/restricted/i18n/Translation-en.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/restricted/i18n/Translation-en_IN.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/universe/i18n/Translation-en.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/universe/i18n/Translation-en_IN.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/Release.gpg Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/i18n/Translation-en.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/i18n/Translation-en_IN.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/i18n/Translation-en.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/i18n/Translation-en_IN.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/i18n/Translation-en.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/i18n/Translation-en_IN.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/i18n/Translation-en.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/i18n/Translation-en_IN.bz2 Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/maverick/Release.gpg Could not connect to archive.canonical.com:80 (91.189.88.33). - connect (110: Connection timed out)
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/maverick/partner/i18n/Translation-en.bz2 Unable to connect to archive.canonical.com:http:
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/maverick/partner/i18n/Translation-en_IN.bz2 Unable to connect to archive.canonical.com:http:
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/Release.gpg Could not connect to extras.ubuntu.com:80 (91.189.88.33). - connect (110: Connection timed out)
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/main/i18n/Translation-en.bz2 Unable to connect to extras.ubuntu.com:http:
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/main/i18n/Translation-en_IN.bz2 Unable to connect to extras.ubuntu.com:http:
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/maverick/partner/source/Sources.gz Unable to connect to archive.canonical.com:http:
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/main/source/Sources.gz Unable to connect to extras.ubuntu.com:http:
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/maverick/partner/binary-i386/Packages.gz Unable to connect to archive.canonical.com:http:
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.gz Unable to connect to extras.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/main/source/Sources.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/restricted/source/Sources.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/universe/source/Sources.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/source/Sources.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/restricted/binary-i386/Packages.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/universe/binary-i386/Packages.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/binary-i386/Packages.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/source/Sources.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/source/Sources.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/source/Sources.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/source/Sources.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/binary-i386/Packages.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/binary-i386/Packages.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/binary-i386/Packages.gz Unable to connect to in.archive.ubuntu.com:http:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/binary-i386/Packages.gz Unable to connect to in.archive.ubuntu.com:http:
E: Some index files failed to download, they have been ignored, or old ones used instead.
gaurav@gaurav-HCL-ME-Laptop:~$


I went back thinking what was the last apt I did and found out it was shutter ppa I added, after that I started getting errors on apt-get.
I deleted the ppa and now everything is fine.


Any idea? what would have caused the shutter ppa to break the software installation.


11.10 - Can&#39;t boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...