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

[ubuntu] New Kernel crashes on going to Suspend/Sleep

$
0
0
Howdy,

recently i installed Ubuntu 19.10 on my HP Spectre x360 and everything is working fine.
However yesterday there was a kernel Update available (via apt upgrade).
So when i boot the new Kernel and i want to go to Sleep State Linux crashes with a blackscreen and nothing happens. Only Hard reset will help.
In syslog i can only see the Message "Now going to sleep" without an error Message.

Is it somehow possible to debug this problem?

Old Kernel that worked was 5.3.0-18
New Kernel that won't work is 5.3.0-45


every help is welcome and appreciated

Thanks in advance
Manziscw

Missing package for 20.04 arm64

$
0
0
An important package for me is missing from the repository for the new 20.04 arm64: freeipa-client
It appears all of the supporting packages exist, just not the install script that pulls them all together.

This package does exist for 19.10 arm64.

[ubuntu] Grub doesn't find windows

$
0
0
I reinstalled my Ubuntu dual boot and now the grub won't find windows anymore. I already ran boot repair and tried to manually add windows into the grub config.
The grub won't show up on startup and when I summon it manually, the option added for Windows doesn't work.
I think I added the wrong drive, or maybe the mbr is broken. But how do I fix that?

This is the windows drive:
Screenshot from 2020-04-08 17-33-17.png

EDIT:

I'm not sure which one to add as windows? Both sdb1 and sdb2 didn't work.
I added this entry to the grub with the respective uuid:

insmod ntfs
search --no-floppy --set=root --fs-uuid $$UUID$$
Attached Images

Windows domain logon failure to samba 4.7.6 installed on Ubuntu 18.04

$
0
0
Loooooong Post ahead

Good people.I have a challenge with Samba 4.7.6 installed on my new Ubuntu 18.04 server.
So, Samba has been provisioned using BIND9_DLZ as DNS Backend and i am using FreeBSD's implementation of Kerberos called Heimdall.
Now,here is the first challenge.When i do samba_dnsupdate --verbose --all-names,at the end of the output i get this
"Failed 'samba-tool dns' based update of SRV _ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones.nltp-office.com NLTP-DOM-VM.nltp-office.com 389
Failed update of 29 entries
"
In between the output i can also see
"ERROR(runtime): uncaught exception - (9711, 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')"

However,a random check on the DNS entries like
"host -t SRV _kerberos._tcp.nltp-office.com NLTP-DOM-VM.nltp-office.com"
shows that the record actually exists in the bind zone file
commands like testparm show that my smb.conf file is OK
Now,here is the biggest problem i am facing .I just cant add ANY windows machine to the samba domain !
When i try join any machine, i get the following error
"Logon failure: unknown username or bad password"
I have tried as much to dig into the problem.First stop.Heimdal-kdc's log file.I get to see lines like
"2020-04-08T08:37:23 Searching referral for nltp-dom-vm.nltp-office.com
2020-04-08T08:37:23 Server not found in database: host/nltp-dom-vm.nltp-office.com@NLTP-OFFICE.COM: no such entry found in hdb
2020-04-08T08:37:23 Failed building TGS-REP to IPv4:192.168.0.250
2020-04-08T08:37:23 tgs-req: sending error: -1765328377 to client"

Then,i start getting these lines
"2020-04-08T08:49:35 Looking for ENC-TS pa-data -- administrator@NLTP-OFFICE.COM
2020-04-08T08:49:35 Need to use PA-ENC-TIMESTAMP/PA-PK-AS-REQ
2020-04-08T08:49:35 sending 336 bytes to IPv4:192.168.0.18
2020-04-08T08:49:35 AS-REQ administrator@NLTP-OFFICE.COM from IPv4:192.168.0.18 for krbtgt/NLTP-OFFICE.COM@NLTP-OFFICE.COM
2020-04-08T08:49:35 Client sent patypes: ENC-TS, 128
2020-04-08T08:49:35 Looking for PK-INIT(ietf) pa-data -- administrator@NLTP-OFFICE.COM
2020-04-08T08:49:35 Looking for PK-INIT(win2k) pa-data -- administrator@NLTP-OFFICE.COM
2020-04-08T08:49:35 Looking for ENC-TS pa-data -- administrator@NLTP-OFFICE.COM
2020-04-08T08:49:35 ENC-TS Pre-authentication succeeded -- administrator@NLTP-OFFICE.COM using aes256-cts-hmac-sha1-96
2020-04-08T08:49:35 ENC-TS pre-authentication succeeded -- administrator@NLTP-OFFICE.COM
2020-04-08T08:49:35 AS-REQ authtime: 2020-04-08T08:49:35 starttime: unset endtime: 2020-04-09T08:49:35 renew till: 2020-04-15T08:49:35
2020-04-08T08:49:35 Client supported enctypes: aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, arcfour-hmac-md5, 24, -135, des-cbc-md5, using aes256-cts-hmac-sha1-96/aes256-cts-hmac-sha1-96
"
This to me means that the login through kerberos is successful.I can confirm this through the klist command which lists an entry for the user administrator!
Then,i check on the /var/log/samba/log.samba file.I get these lines
"[2020/04/08 10:30:19.565944, 3] ../auth/auth_log.c:760(log_authentication_event_human_read able)
Auth: [SMB2,NTLMSSP] user [NLTP-OFFICE.COM]\[administrator] at [Wed, 08 Apr 2020 10:30:19.565919 EAT] with [NTLMv1] status [NT_STATUS_OK] workstation [PAC6053-VM] remote host [ipv4:192.168.0.18:50256] became [NLTP-OFFICE]\[Administrator] [S-1-5-21-844398716-371642466-630497442-500]. local host [ipv4:192.168.0.250:445]
[2020/04/08 10:30:19.566239, 3] ../auth/auth_log.c:220(log_json)
JSON Authentication: {"timestamp": "2020-04-08T10:30:19.566098+0300", "type": "Authentication", "Authentication": {"version": {"major": 1, "minor": 0}, "status": "NT_STATUS_OK", "localAddress": "ipv4:192.168.0.250:445", "remoteAddress": "ipv4:192.168.0.18:50256", "serviceDescription": "SMB2", "authDescription": "NTLMSSP", "clientDomain": "NLTP-OFFICE.COM", "clientAccount": "administrator", "workstation": "PAC6053-VM", "becameAccount": "Administrator", "becameDomain": "NLTP-OFFICE", "becameSid": "S-1-5-21-844398716-371642466-630497442-500", "mappedAccount": "administrator", "mappedDomain": "NLTP-OFFICE.COM", "netlogonComputer": null, "netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x00000000", "netlogonSecureChannelType": 0, "netlogonTrustAccountSid": "(NULL SID)", "passwordType": "NTLMv1"}}
[2020/04/08 10:30:19.566366, 3] ../auth/auth_log.c:139(get_auth_event_server)
get_auth_event_server: Failed to find 'auth_event' registered on the message bus to send JSON authentication events to: NT_STATUS_OBJECT_NAME_NOT_FOUND
"
I must say,at this point,i cant really tell where the problem is.Could
get_auth_event_server: Failed to find 'auth_event' registered on the message bus to send JSON authentication events to: NT_STATUS_OBJECT_NAME_NOT_FOUND
be the issue here? I stand to be guided
Also,can somebody school me on how authentication from windows machine to samba when doing domain Join happens?Coz i am very confused now.
This is what i think.When a windows machine is joining a domain,administrative credentials are checked in kerberos,which communicates to Samba if successful then samba sends Domain SID to the joining windows computer and the windows computer updates its registry.What migh i be missing here ?

Please heeeeeelp! .Google,Samba wiki,samba mailing lists,Cyberciti.biz et al have not helped this far

[kubuntu] USB boot for fresh install - no install option ?

$
0
0
HP 4330S - The boot usb is from mkusb and I have used this procedure before and been able to do a fresh installtion of Kubuntu. However, this time, with trying 19.10 and mkusb, there is a splash screen after booting from usb, but nothing on the desktop. No icons, nothing ? The mouse pointer can be seen , but left or right button does nothing.

I have tried the mkusb with live boot, with persistant live and with clone, but same problem. Have checked the BIOS settings and they seem okay. No UEFI checked which I think is 'secure boot'.

Can I do a usb boot with any of the mkusb options, and have NO splash screen, so that I can see what is going on.

[ubuntu] 20.04 beta - wifi problem

$
0
0
yesterday, I tried to install the 20.04 beta version on my HP15-af119nf laptop
I had 2 issues :
- If I add a second wifi card and the network manager was not able to disable one card and to activate the right card for the right wifi network.
- after the installation of the first updates proposed, the wifi card of the laptop did not work any more.


Regards.
David

[server] Ubuntu server 18 installer can't mount raid6 at /

$
0
0
Hi all,

I'm trying to install server 18.04.4 (using the alternative installer) on my machine with existing raid1 (for /boot) and raid6 (for /) devices set up. I set the partitioner to format the raid1 ext4, and it seems fine. I set it to not overwrite the ext2 raid6 (i have data i want to keep). The installer chokes when trying to mount the raid6 (/dev/md126) at /. The syslog has the following error:
Code:

mount: mounting /dev/md127 on /target/ failed: Invalid argument
I'm not sure how to get more detailed information than that, however. e2fsck indicates the array is clean. I'm able to mount the array in the shell and access the files. Just not sure why the installer is having a hard time. Any thoughts greatly appreciated.


Thanks, Allie

After the last update, the GUI freezes

$
0
0
I have been using Ubuntu for almost 2 years now on my current laptop (Dell G5 15 I7). I have been installing updates and upgrades whenever prompted to do so and restarting whenever it says so. After the last update (2 days ago). I turned off my laptop and when I opened again I noticed that my GUI freezes every few seconds except for the mouse ! That particularly happens when a certain program is open (Godot Engine) other than that it works OK but that problem wasn't there before installing the last update so is there hope that this problem will be fixed at the next update or is there something I can do now to fix this until the next update solves it ? Thanks in advance

[lubuntu] Problem with booting lubuntu on partition formatted in F2FS

$
0
0
Hello,

I recently installed Lubuntu distro on partition formatted in F2FS, to play with it, but something gone wrong, and I need to boot the system manually from GRUB 2.04 using:

Code:

grub> set prefix=<(hd0,gpt2)/grub
grub> set root=(hd0,gpt2)
grub> insmod linux
grub> insmod normal
grub> normal

Here is log from boot-info
https://paste.ubuntu.com/p/KK7j2z4c9X/

can't remove DKMS Module: Ubuntu with windows wsl and failed nvidia-440 installation

$
0
0
Hello,

I am using ubuntu 16 on Windows wsl.
I tried to install the cuda toolkit which include nvidia-440 driver but the installation failed.
Now I can't install any other package. Every new installation trying to install nvidia-440
Code:

Setting up nvidia-440 (440.33.01-0ubuntu1) ...
.
I am retrying to remove all dependencies associated with.
So I tried the command
Code:

sudo apt-get purge
dpkg --purge --force-remove-reinstreq

and its freezed at
Code:

Removing all DKMS Modules
for "ever" similarly to this thread.
I have tried as root without success.

Any help will be appreciated.
Best regards

[ubuntu] access to a partition from the terminal

$
0
0
I recently installed Ubuntu 18.04.4 LTS on sda1. Then I have a sda2 partition for some data.
I can access the files in both partitions from the file icon in the dock
On the terminal, I can access the files in sda1, as it prompts jean@jean-G2P:~$
On the terminal, when I try to access the contents of sda2, then I have a problem:


jean@jean-G2P:~$ cd /dev


jean@jean-G2P:/dev$ ls -l
...
brw-rw---- 1 root disk 8, 0 avr 9 19:52 sda
brw-rw---- 1 root disk 8, 1 avr 9 19:52 sda1
brw-rw---- 1 root disk 8, 2 avr 9 19:52 sda2
…


jean@jean-G2P:/dev$ cd sda2
bash: cd: sda2: Not a directory


jean@jean-G2P:/dev$ cd disk/by-uuid


jean@jean-G2P:/dev/disk/by-uuid$ ls -l

total 0
lrwxrwxrwx 1 root root 10 avr 9 19:52 0092f46a-e796-4291-9df8-1beb7d1082cb -> ../../sda2
lrwxrwxrwx 1 root root 10 avr 9 19:52 9945d714-fe96-4ab4-8d4d-dd73eff0b0b1 -> ../../sda1


jean@jean-G2P:/dev/disk/by-uuid$ cd 0092f46a-e796-4291-9df8-1beb7d1082cb
bash: cd: 0092f46a-e796-4291-9df8-1beb7d1082cb: Not a directory


Can you please help me to access the contents of sda2 on the terminal?
I thank you in advance.
Best regards,
Jean Paul

Direct support for Ubuntu Budgie?

$
0
0
Hi!
I have been using Ubuntu on and off alot but my install is so messed up I am doing a clean one now and this time with Budgie.
I read about Budgie and it sounded quite like the same old Ubuntu but with some additional pampering of the GUI.

I will be doing the install today and try it out. Hopefully this will be a convenient flavour for me and hopefully i will like it.

The reason for posting this thread however is to hear if this forum will help out with Budgie questions or discussions spesificaly?
And also to hear if anyone else using the flavour who can give me some first time user help and just basically get started in a good way :)

Ubuntu is my linux distro of choice just because of loyality and because I like it. Also, the people on the ubuntuforums are so kind and
helpfull.

I will be doing a clean install now in about an hour or so. If anyone have time, read the footnote of this thread.

Love y'all

By the way, i would have love to have someone to chat with. I have a discord server, you can locate me there, I use IRC from time to time.

[ubuntu] Keep getting an error message when trying to update and install apps

$
0
0
The error message is:
"Unable to download updates:
failed to refresh cache: E: The repository 'http://
ppa.launchpad.net/clipgrab-team/ppa/ubuntu eoan Release'
does not have a Release file."

I am brand new to Ubuntu with the exception of having tried it back in or around 2003ish whenever Ubuntu was first becoming popular. I was not willing to devote time to learning the terminal but now I am as learning more about how computer systems actually function is something I am interested in. However that is not to say that I wish to completely rely on the terminal either.

Installing SVGA II Adapter and InnoTek drivers on Ubuntu Virtual Machine

$
0
0
Im a newbie

I checked my drivers in software and updates and it shows I do not have a driver for VMware: SCGA II Adapter and InnoTek Systemberatung GmbH Virtual Guest Service.

I have looked around, but I cannot find how to get those drivers. I believe I need to manually install them from terminal.

Help please?

[ubuntu_mate] Why this error message about profile after install?

$
0
0
Still rather new to Ubuntu (and Linux), more or less "coming and going." My first exchange with you all was with Ubuntu Budgie but, this time around, I've decided that the best Ubuntu for me is Ubuntu Mate and the best of my devices to use it on is my little Acer Aspire One 722.

The installations (I did it twice to see if a second attempt would get this message to go away but no such luck) went very smoothly, no hiccups at all. However, on the required post-install restart, once I got past the login screen, I got (and continue to get) this message:

Error found when loading /home/dave/.profile:

/home/dave/.profile: line 1: /usr/share/defaults/etc/profile: No such file or directory

As a result the session will not be configured correctly. You should fix the problem as soon as feasible.


I never got that message with my installs of Ubuntu Budgie (though that was on a ThinkPad, not this Acer) and I've noted that whatever it's advising me of has not stopped me from pressing on with first steps, installation of packages, etc. Still, I'm ready to "fix the problem." I just need to know what it is! Thanks!

PulseAudio Wont Start After Upgrade From 19.10 to 20.04

$
0
0
I updated my system from Kubuntu 19.10 to 20.04, after updating I have no sound at all.
Running pulseaudio form the terminal fails with this error:
Code:

W: [pulseaudio] pid.c: Stale PID file, overwriting
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Mic1, assuming stereo duplex.
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Mic2, assuming stereo duplex.
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Line2, assuming stereo duplex.
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Headphones, assuming stereo duplex.
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Line1, assuming stereo duplex.
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 'CaptureChannels'for device Speaker, assuming stereo duplex.
E: [pulseaudio] alsa-ucm.c: Assertion 'jack' failed at modules/alsa/alsa-ucm.c:2158, function device_add_hw_mute_jack(). Aborting.
fish: “pulseaudio” terminated by signal SIGABRT (Abort)

[ubuntu] Installation error on HP Pavilion g6 series notebook

$
0
0
There is Installation error on HP Pavilion g6 series notebook. Ubuntu 18.04 is sowing error while installing could not start my laptop...
Will Ubuntu 20.04 start worked on my laptop?

[ubuntu] Grub-pc error during upgrade

$
0
0
During a routinue upgrade using apt I encountered an error.
This is 64bit 18.04 LTS and it used to work honest!

Here is the output
#
Code:

apt upgrade
...
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
# apt install -f
Reading package lists... Done
Building dependency tree     
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.02-2ubuntu8.15) ...
dpkg: error processing package grub-pc (--configure):
 installed grub-pc package post-installation script subprocess returned error exit status 20
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
# dpkg --configure -a
Setting up grub-pc (2.02-2ubuntu8.15) ...
dpkg: error processing package grub-pc (--configure):
 installed grub-pc package post-installation script subprocess returned error exit status 20
Errors were encountered while processing:
 grub-pc
#

Any idea how to clear this error.
I have tried re-installing grub-pc

Would purging grub-pc and reinstalling have a change?

Here are the results of a couble of clean-up commands

Code:

# apt autoremove
Reading package lists... Done
Building dependency tree     
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.02-2ubuntu8.15) ...
dpkg: error processing package grub-pc (--configure):
 installed grub-pc package post-installation script subprocess returned error exit status 20
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
# apt autoclean
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Del apport-gtk 2.20.9-0ubuntu7.13 [9,696 B]
Del firefox 74.0+build3-0ubuntu0.18.04.1 [51.9 MB]
Del python3-problem-report 2.20.9-0ubuntu7.13 [10.5 kB]
Del linux-libc-dev 4.15.0-91.92 [1,026 kB]
Del apport 2.20.9-0ubuntu7.13 [124 kB]
Del python3-apport 2.20.9-0ubuntu7.13 [82.1 kB]
#

How do I switch from Kubuntu to (GNOME) Ubuntu

$
0
0
I used to be a GNOME user for many years.

This year I installed Kubuntu 19.10 to try it out and although I'm super happy with some bits overall I think I was a lot more productive on GNOME and I'd like to get back to it.

How can I do that?

Do I need to do a complete OS clean install?

Can GNOME be installed while using Plasma and made to replace the Plasma (on reboot or similar)?

Can GNOME and Plasma coexist?

What's the best way to proceed here?

How to completely avoid/dissbale snap in the new 20.04 Ubuntu

$
0
0
How do I completely avoid snap on my system if I install 20.04 Ubuntu? Preferably some way to disable/remove it already during installation.
Viewing all 26379 articles
Browse latest View live


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