Quantcast
Channel: Ubuntu Forums - Installation & Upgrades
Viewing all 26379 articles
Browse latest View live

[SOLVED] after update to 18.04: cups-pdf broken

$
0
0
After update (with no error noticed), printing to PDF fails: Jobs are accepted, but not executed. The printer queue window show the error message (see screen shot)

File "/usr/lib/cups/backend/cups-pdf" unavailable: No such file or directory
(translation from German might not exactly fit to the original English text)

... and before you ask: There is indeed no such file or directory.

My search for hints to solve the problem gave no results, so far - any idea, here? (Answers to the parallel requests at the German fora ubuntuusers.de and kubuntu-de.org will be forwarded.)
Attached Images

[ubuntu] Problem with apt after removing newer kernels

$
0
0
Hello !
I have the following problem :
I use kernel headers 4.13.0-43-generic. I have installed as well linux-image-4.15.0-29-generic , linux-image-4.15.0-32-generic , linux-image-4.15.0-33-generic. Yesterday I tried to remove 4.15.* headers and got me tangled with the following error.
whenever I use apt command I receive

Quote:

The following packages will be REMOVED:
linux-image-4.15.0-29-generic linux-image-4.15.0-32-generic
linux-image-4.15.0-33-generic
0 upgraded, 0 newly installed, 3 to remove and 16 not upgraded.
4 not fully installed or removed.
After this operation, 24,4 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 375333 files and directories currently installed.)
Removing linux-image-4.15.0-29-generic (4.15.0-29.31~16.04.1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.13.0-43-generic.efi.signed
Failed to create or replace /vmlinuz: Is a directory at /usr/bin/linux-update-symlinks line 72.
dpkg: error processing package linux-image-4.15.0-29-generic (--remove):
subprocess installed post-removal script returned error exit status 21
Removing linux-image-4.15.0-32-generic (4.15.0-32.35~16.04.1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.13.0-45-generic
I: /initrd.img.old is now a symlink to boot/initrd.img-4.13.0-45-generic
Failed to create or replace /vmlinuz: Is a directory at /usr/bin/linux-update-symlinks line 72.
dpkg: error processing package linux-image-4.15.0-32-generic (--remove):
subprocess installed post-removal script returned error exit status 21
Removing linux-image-4.15.0-33-generic (4.15.0-33.36~16.04.1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.13.0-43-generic.efi.signed
Failed to create or replace /vmlinuz: Is a directory at /usr/bin/linux-update-symlinks line 72.
dpkg: error processing package linux-image-4.15.0-33-generic (--remove):
subprocess installed post-removal script returned error exit status 21
Errors were encountered while processing:
linux-image-4.15.0-29-generic
linux-image-4.15.0-32-generic
linux-image-4.15.0-33-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have tried
Code:

dpkg --configure -a
but no luck. Any suggestions?? I am kinda stuck with this .
Thank you in advance .

Dual boot with windows - recommendation needed

$
0
0
Hello,

I have ubuntu 18.04 installed on my desktop. Below is link for my boot-info file.

http://paste.ubuntu.com/p/SFFv7ntHBs/

Basically I have 3 partitions.

Part 1 - efi
Part 2 - SWAP
Part 3 - physical - LVM2 - in physical I have logical partition for /home partition for / and partition for *other*.

Now I want to make space for Windows 10 partition. I want to allocate some space out of existing setup and configure dual boot. Before I proceed, I want to check if you can give me some recommendations about how to get appx 100 GB free space for Windows 10 installation and how should configure dual boot once Windows installation is completed. I know once Windows installation is completed, I will lose grub so I need to restore that later for dual boot.

the partition /dev/mapper/linux-other 2bed251f-4e81-4aad-b274-193695251205 ext4
========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
linux-home
linux-other
linux-ubuntu18
(highlighted in red - linux-other) you will see in boot-info is the one I want to use. It is not used right now (although formatted as ext4).

Thanks in advanced
Kunal Shah

"Documents" folder and contents missing in ubuntu 18.04

$
0
0
Hi,
Today "Documents" folder and contents missing all of sudden. Also computer shows more free space compared to before. Most of my data was in Documents folder only and no back up. Kindly help friends. Also attaching the screenshot for reference
Attached Images

bootup hung after upgrade

$
0
0
I had 17 running after a fresh install. I then clicked on the "upgrade to 18.04". Install went well but after rebooting several times, all I receive is the red screen with the 5 dots that go from red to white to red. this stops on the 3rd pass and never proceeds further. I am clueless on how to proceed other than returning back to 17. This is on a Dell machine. I noticed when installing 17 that is said it was doing amd64 files, which I thought incorrect although 17 seemed to work .
Thanks for any help.
Simple machine. no other os, graphics or usb devices. Intel dual core2, 8 g memory. previously ran 16.04 with no issues.

Windows 10 WSL Unable to upgrade Ubuntu 16.04.5 LTS to 18.04.1

$
0
0
I am using Windows 10 Enterprise Version 1709 64 Bit (16299.611) and when starting WSL and trying to run the below command to upgrade to 18.04.1 it fails all the time with network connection error after running for some time

Commands used are

sudo apt update
sudo apt upgrade
sudo do-release-upgrade

I am behind a proxy and I can download other packages and http_proxy and https_proxy variables are set correctly. Not sure why it is failing.

Error message is

Err http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
Connection timed out [IP: x.x.x.x 80]
Fetched 6,990 kB in 6s (0 B/s)

Error during update

A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.

E:Failed to fetch
http://archive.ubuntu.com/ubuntu/dis...amd64/Packages
Connection timed out [IP: x.x.x.x 80], E:Some index files failed
to download. They have been ignored, or old ones used instead.


Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command terminated with exit status 1 (Tue Aug 28 15:11:02 2018) ===

stuck in grub menu after installing Ubuntu 18.04 and running boot-repair

$
0
0
Hi,

I am new to Ubuntu and would need your help for dually installing Windows 10 and Ubuntu 18.04.

I have a Dell laptop XPS 15 9560 2017 Core i7-7700HQ, 16 GB RAM 512GB SSD
and it has a Nvidia GeForce GTX 1050 graphic card
Windows 10 Home was pre-installed

I installed a custom image of Ubuntu (called custom) that I got from my teacher (I added nomodeset after quiet splash in the Grub bootloader editor before installing). Upon rebooting, I didn't get any options to choose between Windows and Ubuntu (Ubuntu is listed first in the boot setup) but ended up at the grub menu grub>

When I booted with an Ubuntu live USB drive I could launch the live Ubuntu from the USB drive (when I again added nomodeset after quiet splash in the Grub bootloader Editor):
I ran boot-repair and was told: "Boot successfully repaired"
The record by boot-repair is on:

http://paste.ubuntu.com/p/B2RnrRHgjk/

However, when re-booting I was again stuck in the grub menu grub>.

I checked custom (Ubuntu) in the boot setup and it points to \EFI\custom\shimx64.efi, as recommended by boot-repair.

I am only starting to use Ubuntu and would be very grateful for any help to fix this.
By the way, booting into Windows still works.

Kind regards,
emu


Things I did before installing Ubuntu - I understand it is done because of the Nvidia card:
I found several, similar installation instructions for this laptop and did the following:

  1. Run Command Prompt as an admin.
  2. Run: bcedit /set {current} safeboot minimal
  3. Reboot.
  4. Press F2 when you see the Dell logo.
  5. Select AHCI mode in the SATA option under System Configuration.
  6. Press “Apply” then “Exit”.
  7. Login as usual.
  8. Open the Command Prompt as an admin again and type: bcedit /deletevalue {current} safeboot
  9. Reboot.


I partitioned the C drive in Windows:
249 GB for Windows (NTFS)
212 GB free, to be used for Ubuntu
then I started to install Ubuntu (see above)

[ubuntu] Black desktop in Ubuntu 18.04

$
0
0
Hello, good Having installed Ubuntu 16.04, as I installed in a forum, able to upgrade to Ubuntu 18.04. The thing is that my 32-bit PC does not allow the installation of Ubuntu 18.04 64-bit, but an update. But the desktop only shows the doc and the task panel above. Do not allow the files or folders to be blank, or download the text and background to be black without being able to change the color or put a desktop background.
Greetings.

[ubuntu] apt-get update long delay then errors check your internet connection, etc.

$
0
0
Ubuntu 16.04
Linux version 4.4.0-134-generic (buildd@lgw01-amd64-033) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #160-Ubuntu SMP Wed Aug 15 14:58:00 UTC 2018

Issue with sudo apt-get update throwing the following errors:
E problem executing scripts APT::Update:post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi', E:Sub-process returned an error code
Failed to download repository information
Check your Internet connection.
There is no problem with the internet connection.

I've checked other posts that suggest:

sudo apt install --reinstall libappstream3

but that doesn't help.

Repair failed upgrade from 16.04 LTS to 18.04.1 LTS

$
0
0
Hi all. My upgrade from 16 to 18.04.1 LTS failed. The install got broken off at the point where it asked me which file to keep for Configuration file '/etc/sysctl.conf'
After it dropped I tried re-upgrade but it was already far enough along that it now looks like the OS is installed. However I had to force restart, and now it the boot screen blinks, and the screen itself is black apart from me seeing the mouse pointer.

I tried using a USB with 18.04 on it, but no option to repair shows. Only to install 18.04.1 alongside 18.04.1

I do not want to lose my docs, configs and installs so repairs is the best thing for me if possible. I could install alongside then.






Configuration file '/etc/sysctl.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.

[ubuntu] Are my booting files ok?

$
0
0
I have the impression that my booting files are not where they should be.
There're a few things that are right:
1. Ubuntu takes a notorious amount of time to boot. More than it should, that's for sure. Even when booting from the Live USB drive it's way way faster.2. I see 2 shimx64.efi files. Is this normal? (see results below for efibootmgr -v).
3. Windows Boot Manager won't show as a choice in BIOS. However, it does show in GRUB.
4. I don't know if it's related but a couple apps won't work as expected:

a) rEFInd - as you can see below, it is installed. I have not attempted to configure it though, but it may not be needed.
b) Also, both Ktube and Ultimate Media Downloader 2 - They show reassuring messages saying the file downloaded successfully, yet it's not where it says it would. The developer says this has never happened before.

I understand that all this is not necessarily related, but if there's something wrong with the booting files, couldn't that explain why rEFInd is not working?, for instance.

sudo efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0002,0000
Boot0000* ubuntu HD(1,GPT,6513d43f-d266-435e-a2df-915943d89816,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* Ubuntu HD(1,GPT,6513d43f-d266-435e-a2df-915943d89816,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)WINDOWS.........x...B .C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}..._................
Boot0002* rEFInd Boot Manager HD(1,GPT,6513d43f-d266-435e-a2df-915943d89816,0x800,0x100000)/File(\EFI\refind\refind_x64.efi)

------------------------------------------------------------------------------------


Boot Repair Disk report

------------------------------------------------------------------------------------

apt-cache policy refindrefind:
Installed: 0.11.3-0ppa1
Candidate: 0.11.3-0ppa1
Version table:
*** 0.11.3-0ppa1 500
500 http://ppa.launchpad.net/rodsmith/refind/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
0.11.2-1 500
500 http://ca.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

------------------------------------------------------------------------------------

Thank you guy! :)

Thunderbird icon is missing in system tray bar in Ubuntu 18.04

$
0
0
In Ubuntu 16.04 I had a thunderbird icon in tray bar with unread messages but there isn't in Ubuntu 18.04.

Is there a chance to have it again?

Thanks in advance

ciao
Paolo

[ubuntu] Upgraded LTSP from 12.04 to 16.04 and now no cursor on clients!

$
0
0
Where I work, I set up a 12.04 LTSP server AGES ago. Everything was super with it, until recently. I decided to bite the bullet and bring it to a more current version. The update from 12.04 to 14.04 went smoothly, as did the move to 16.04. (18.04 is out of the question, as there are conflicts with that running on Proxmox.)

The problem I've run into is that, while clients are still able to log in (using Gnome with Metacity as their session), the cursor is invisible. It's odd, because on the login screen, the cursor shows just fine. And if I choose Unity for the session, I get a cursor but nothing else (no menus or the title bar, just desktop icons).

I'm looking for any help. As I mentioned, 18.04 is not an option, as it will not run under Proxmox, which is where this LTSP server lives.

Duplicating an install

$
0
0
What is the easiest way to duplicate an existing Ubuntu install onto another box (currently running Winders).

Thank you.

[ubuntu] Is there an easy way to downgrade kernel to 4.14.x in 18.04?


Ubuntu 16.04 installation failed due to lack of space

$
0
0
Sorry for the long post, but I'm trying to include all details regarding my issue.
I'm trying to install Ubuntu 16.04 on my Asus vivobook Max (core i3 7100u + 8gb Ram + intel hd620)

I previously had only Windows 10 on the laptop, but decided to shift over to Ubuntu.
Initially I tried with Ubuntu 18.04, however once it installed, I couldn't get past my Login Screen as it would be stuck on the purple load screen with no cursor after entering the password and clicking login. My senior from college figured that my display manager wasn't loading up and asked me to switch to lightdm. He asked me to do that via the tty from the login screen (alt + ctrl + f2)

However, after this, instead of the try, i get a black screen with a stream on error messages "pci bus error severity corrected"
So to recitify this, with help from the net, i entered "pci=noaer" by pressing e at the grub screen. This fixed the issue and i was able to enter into the tty.
But since i couldn't connect to my WiFi (i do not know how to since most net tutorials suggested ifconfig and that didn't come pre-installed),i couldn't lightdm so i was stuck.

So i decided to install Ubuntu 16.04. However, this would cause the error while installation that "installation failed due to disk filled up", even though I'm installing onto a completely new 1tb hardisk, using a 8gb pen drive.

I'm really stuck here and would love some help.
Thank you.

Setting home folder to existing home partition, Lubuntu 18.04

$
0
0
Hello all. A 16.04 LTS install went awry, so I installed 18.04 on my first HD partition. It's an 8 GB partition set as the / directory. I want to set my second partition, a 230 gig partition which was my /home directory, as the /home directory. How do I do this? I used the alternate install image to install Lubuntu 18.04; I didn't see an option to set the second partition as home.

de.rsync.archive.ubuntu.com vanished

$
0
0
Hello everyone,

I think I am at the right place here, If I’m not, please move my thread or point me to where I should look.

We operate an archive mirror at our company to reduce the load on public mirrors. As we are a German company, we used the rsync mirror at de.rsync.archive.ubuntu.com with a two stage sync (see https://wiki.ubuntu.com/Mirrors/Scripts)

However, some time between 2018-08-28T20:41:31+02:00 and 2018-08-29T07:50:01+02:00, the host name vanished from DNS. I could not find any news or information about it anywhere - does anybody know more than I do?

There is no information anywhere on the ubuntu-mirrors (https://lists.ubuntu.com/mailman/lis...ubuntu-mirrors) or the ubuntu-mirrors-announce (https://lists.ubuntu.com/mailman/lis...rrors-announce) mailing lists.

Best regards
Maurice

[SOLVED] Unable to install Inkscape after 18.04 upgrade (broken packages Synaptic won't fix)

$
0
0
So I upgraded xubuntu 16.04 to 18.04 recently as soon as it became available on the automatic upgrade check.

Somehow it removed Inkscape which I had installed. No big deal I thought.

But when I try to "Mark for Installation" Inkscape via Synaptic, I can see it is a broken package. Pressing the "Apply" button says so, "Could not apply changes! Fix broken packages first."

When I try to do this ("Fix broken packages" in Synaptic) after I marked Inkscape, I get a pop-up error message:
Quote:

E: Unable to correct problems, you have held broken packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
So now I am stumped. After browsing tons of postings I tried to apt-mark showhold in the terminal, but this showed nothing.

When I try to install Inkscape manually (sudo apt install inkscape), this shows up:
Quote:

Reading package lists... Done
Building dependency tree

Reading state information... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

The following information may help to resolve the situation:


The following packages have unmet dependencies:
inkscape : Depends: libgsl23 but it is not going to be installed

Depends: libgslcblas0 but it is not going to be installed

E: Unable to correct problems, you have held broken packages.
How do I fix this?

[ubuntu] Upgrade lost Win 10, GRUB and BIOS

$
0
0
I had a dual boot Win 10 / Ubuntu 16.04 system
This is my backup desktop, ACER Aspire XC-605, which I keep to run Win 10 - which happens rarely.
There have been no changes to the PC for some months.

I think I may have made a mistake in my upgrade to 18.04

Now on the ACER I cannot access Win 10, and GRUB has gone too.
More remarkably, I cannot access UEFI / BIOS. The PC beeps correctly on startup.

When I try to get to the BIOS (F2 on the ACER) the desktop screen goes black and the disk light goes off. Cold boot does not help.
If I restart and do nothing, the ACER boots directly to Ubuntu. Nothing appears on the screen before Ubuntu.
I have looked at the logfile but there is nothing that appears abnormal.

I imagine that I either overwrote the old UEFI or have managed to create a second new one if that is possible.

I cannot run Boot-Repair from the CD. It is not boot-able and of course I cannot access the BIOS to allow a CD boot.

I could run Boot-Repair from within Ubuntu, but is this the best thing to do?

Any advice?
Viewing all 26379 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>