big_duck | Anybody remember when antivirus used to break caja? Happened to me now with latest distro... I tried all the usual stuff. Who knows what actually happened to caja and what to do to fix it? | 02:30 |
---|---|---|
hector | hi | 05:10 |
hector | what's new | 05:11 |
johnjay | is it possible my system apt get is malfunctioning? | 07:17 |
johnjay | some files in a source folder were randomly assigned to groups 'root root' | 07:17 |
johnjay | and I had some weird permission problems with icecast package | 07:18 |
johnjay | it was a source folder i downloaded so it doesn't make sense for it to be unreadable | 07:18 |
johnjay | i read them fine yesterday as normal user | 07:18 |
johnjay | er wrote i mean | 07:18 |
alkisg | What do you mean "source folder"? | 07:21 |
alkisg | Apt handles binary packages, not source code... | 07:21 |
johnjay | well to clarify | 07:26 |
johnjay | I downloaded separate from apt a git repository with git clone | 07:26 |
johnjay | and was running the build script inside it | 07:26 |
johnjay | and when i saw it needed libraries or whatever I installed them with sudo apt-get install | 07:26 |
johnjay | possibly inside that very source dir | 07:26 |
johnjay | and now today when I go to build it suddenly says ERROR cannot write FETCH_HEAD | 07:26 |
johnjay | and I do an -ls -l and sure enough now it's owned by root. but not the files around it. @_@ | 07:27 |
alkisg | apt doesn't touch your current dir | 07:27 |
alkisg | So it's completely unrelated to the issue you mention | 07:27 |
alkisg | Seek elsewhere for what caused it | 07:27 |
johnjay | well files don't just change ownership by themselves | 07:27 |
alkisg | Right, so I'm pointing you to another direction to search, because apt isn't to blame there | 07:27 |
johnjay | and I also had problems with apt installing nginx and icecast | 07:28 |
alkisg | What problems? | 07:28 |
johnjay | with icecast it worked out of the box on debian | 07:28 |
johnjay | but on ubuntu here it just gave me all these wierd problems | 07:28 |
johnjay | to the point that now I can run it as a normal user but not as sudo because it won't let you | 07:28 |
johnjay | but i can't start it as a service and some of its files were also owned by root | 07:28 |
johnjay | so I'm just speculating there's a connection between apt and these problems | 07:28 |
johnjay | maybe apt is randomly changing ownership of files to root because I run it as root | 07:29 |
alkisg | apt is supposed to be ran as root | 07:29 |
johnjay | exactly | 07:29 |
alkisg | apt doesn't change ownership of files | 07:29 |
johnjay | ok | 07:29 |
alkisg | Accept those so that you can pinpoint the real issue more easily | 07:29 |
alkisg | sudo apt install debsums | 07:29 |
alkisg | sudo debsums -s | 07:29 |
johnjay | well i have no idea where to start | 07:29 |
alkisg | Run those. They will check that all packages and files are appropriate | 07:30 |
alkisg | Because if you manually have installed things and broken your system, you'll need to reinstall it | 07:30 |
alkisg | You're not supposed to manually install things over the files that are managed by apt | 07:30 |
johnjay | debsum checks all installed packages md5? | 07:31 |
johnjay | cool | 07:31 |
alkisg | Yes | 07:32 |
johnjay | that's weird. when a package is installed doesn't that just mean it copies the files? | 07:32 |
johnjay | so like. how does it know /etc/default/icecast2 matches the original deb package it came from? | 07:33 |
alkisg | I'm not sure what you're asking there | 07:33 |
alkisg | apt has information and md5sums etc for all the packages in your system | 07:33 |
alkisg | dpkg -S /path/to/file => show which package ships that file | 07:34 |
alkisg | dpkg -L package-name => list the files that a package ships | 07:34 |
johnjay | right. | 07:35 |
johnjay | so what i mean is | 07:35 |
johnjay | does it assemble a deb file from those packages and check that | 07:35 |
johnjay | or like, does the system store the deb file or how does that work | 07:35 |
alkisg | .deb files are downloaded in /var/cache/apt/archives/ | 07:36 |
alkisg | They are unpacked in the file system, /usr, /etc etc etc | 07:36 |
alkisg | dpkg stores information for everything in /var/lib/dpkg/ | 07:36 |
alkisg | So, it knows which files belong to which package, which packages are installed, what the md5sums are etc | 07:36 |
alkisg | .deb files are not _created_ at any time locally; only by developers and then put to repositories | 07:37 |
johnjay | holy crap there are a ton of deb files in that folder you said | 07:41 |
johnjay | that seems like something that would get deleted to save space or something | 07:41 |
alkisg | The command for this is `apt clean` and it's properly documented | 07:42 |
johnjay | ah ok | 07:49 |
johnjay | hmm well it complained about mate-optimus and phoronix-test-suite | 07:51 |
johnjay | the latter failed while I was updating it with an install script | 07:51 |
johnjay | nothing else | 07:51 |
alkisg | Nice, that means that /usr, /etc are fine. So any issues you have would be related to either /home/johnjay, or to /var/www/<wherever you have your program data>, or to bugs in the programs themselves | 07:53 |
alkisg | Start by reporting the exact messages of the errors you see | 07:53 |
johnjay | what is /var/www? | 07:56 |
johnjay | the web server? | 07:56 |
alkisg | Yes, just as an example | 07:56 |
alkisg | I mean in general "wherever your programs put their data" | 07:57 |
johnjay | ah ok | 07:58 |
johnjay | with icecast i had problems getting it to just run after installing | 07:58 |
johnjay | but it would be hard to report exact error messages anywhere | 07:58 |
johnjay | like I would do sudo service icecast2 start | 07:59 |
johnjay | and then it wouldn't start | 07:59 |
johnjay | and like, do I check $? or netstat or how does that work you know | 07:59 |
alkisg | Good reports include phrases like: | 08:16 |
alkisg | "I'm running : service icecast start; ps aux|grep icecast" and I see no results. How do I troubleshoot that? | 08:16 |
alkisg | But not "yesterday I tried to run icecast and failed, but I'm not near the pc now, so I can't test whatever you'd like me to test now" | 08:17 |
johnjay | ah ok | 08:22 |
johnjay | well i'm going to apt-get upgrade and then troubleshoot tomorrow | 08:22 |
johnjay | thanks for the tips! | 08:22 |
alkisg | np | 08:22 |
Kenzo | hey guys, can someone please explain how i am meant to report bugs? | 09:52 |
ouroumov | Hello Kenzo | 09:53 |
Kenzo | Hey | 09:53 |
ouroumov | Kenzo, if you know the package that is affected by the bug, you can use the command: ubuntu-bug name_of_package | 09:54 |
ouroumov | You will need a launchpad account | 09:54 |
ouroumov | If you don't know the package, you can report on launchpad against ubuntu-mate, and triaging will be done by someone | 09:55 |
Kenzo | Ok, i don't know which package is affected, the display preferences on the external monitor don't work on my system. would i just need to explain this on launchpad? | 09:56 |
ouroumov | Yes, and you should also provide as much information as possible about your setup (Version of Ubuntu MATE, version of MATE Desktop, whether you've installed special stuff such as a newer kernel, the brand of displays you're using, the output of "inxi -CG") | 09:58 |
ouroumov | Kenzo, and of course give more details on the actual bug, don't go writing "It doesn't work", explain how it doesn't work. | 09:59 |
Kenzo | ah ok thanks ouromov | 10:00 |
ouroumov | yw | 10:00 |
=== TaZeR2 is now known as TaZeR | ||
johnjay | hmm my x server won't start i think and i'm at a console prompt right now | 17:52 |
johnjay | any ideas? | 17:52 |
johnjay | my /xorg.0.log says no screens found | 17:52 |
johnjay | when I type startx it fails with xinit: giving up, unable to connect to x server: connection refused, server error | 17:54 |
Akuli | has the system worked before? | 17:58 |
johnjay | like, last night it did | 17:58 |
johnjay | so yes | 17:58 |
Akuli | oh are you the guy i helped yesterday? | 17:58 |
johnjay | which guy. there were a couple | 17:58 |
Akuli | i needed to leave at one point | 17:59 |
johnjay | i'm the guy on a raspberry pi trying to get conky displaying weather | 17:59 |
Akuli | you had the laptop with driver issues and a windows laptop you borrowed right? | 17:59 |
johnjay | if that helps | 17:59 |
Akuli | hmm | 17:59 |
johnjay | oh no that's someone else | 17:59 |
Akuli | ok not the same guy | 17:59 |
Akuli | did you do anything before it broke? | 17:59 |
johnjay | yeah several things. | 18:00 |
johnjay | i was building a project and also removing nginx and another package | 18:00 |
johnjay | oh shit | 18:00 |
johnjay | the system froze due to overheating and i rebooted it | 18:00 |
johnjay | it might be toast. :( | 18:01 |
Akuli | maybe you just removed some important part of x? | 18:01 |
Akuli | check your apt log | 18:01 |
Akuli | $ less /var/log/apt/history.log | 18:01 |
johnjay | hmm. paste.ubuntu.com/24817048 | 18:03 |
johnjay | there is something in the log about removing xserver-xorg files | 18:03 |
johnjay | but i don't know what it means | 18:03 |
johnjay | i vaguely remember installing gnome-desktop just to see if it would wokr | 18:04 |
johnjay | when it asked me to configure it I chose lightdm or something. but i thought i rebooted before | 18:04 |
Akuli | wait which line? | 18:05 |
johnjay | eh. the last one. | 18:07 |
johnjay | it doesn't say Remove: xserver-xorg-video-vesa-hwe-16.04:armhf? | 18:07 |
Akuli | weird | 18:08 |
Akuli | at least you can install mate-desktop-environment and hope it works :) | 18:09 |
johnjay | er is that a package? | 18:12 |
Akuli | yes | 18:12 |
Akuli | $ sudo apt install mate-desktop-environment | 18:12 |
Akuli | at least it is on this ubuntu mate 14.04 | 18:12 |
johnjay | i have both ubuntu-mate-desktop and mate-desktop in my repo | 18:13 |
johnjay | 16.04 xenial | 18:13 |
johnjay | er mate-desktop-environment | 18:13 |
johnjay | oh yeah and mate-desktop | 18:13 |
johnjay | lol confusing | 18:13 |
johnjay | so mate-desktop-environment the metapackage one is the one i want? | 18:14 |
johnjay | ok i'm doing that | 18:15 |
johnjay | as well as installing the vesa thing cause that sounds like it might matter | 18:15 |
Akuli | probably a good idea | 18:17 |
Akuli | let's see if it works | 18:17 |
johnjay | well i installed fbi | 18:18 |
johnjay | so now i can view images in the console at least | 18:18 |
johnjay | hopefully someone makes a youtube viewer for the console using the framebuffer. :D | 18:18 |
johnjay | ok brb rebooting | 18:18 |
Akuli | you don't need to | 18:18 |
Akuli | lol | 18:18 |
hector_ | o/ | 18:38 |
vj1234 | hi iam new to ubuntu | 18:42 |
Akuli | hi :) | 18:42 |
vj1234 | i'm finding very difficult in configuring deluge bit-torrent client in my laptop | 18:43 |
vj1234 | could someone pls help me | 18:43 |
Akuli | what do you want to configure to it? | 18:43 |
vj1234 | it says not connected.. when i click on it .. connection manager window opens up | 18:43 |
Akuli | it's been a while since i used deluge | 18:44 |
Akuli | someone else probably knows more | 18:44 |
vj1234 | ohh | 18:44 |
vj1234 | so which one do you use ? | 18:44 |
Akuli | deluge just works for me when i need to torrent ubuntu isos or something | 18:44 |
Akuli | i haven't touched any settings | 18:44 |
vj1234 | could any experts .. help me on deluge -> connection manager settings | 18:45 |
Akuli | wait for 15 minutes or so, if nobody responds there are other places you can ask help on too :) | 18:46 |
Akuli | do something else while waiting | 18:46 |
vj1234 | ok thank you akuli | 18:53 |
Akuli | if nobody responds, type this here: /join #ubuntu | 18:54 |
Akuli | you'll end up in a bigger ubuntu support channel | 18:54 |
Akuli | actually you can go there now :) | 18:54 |
vj1234 | okies thank you | 18:54 |
vj1234 | :/join #ubuntu | 18:54 |
Akuli | without : | 18:55 |
vj1234 | got it | 18:55 |
vj1234 | thanks a lot | 18:55 |
Akuli | ok :) | 18:56 |
Akuli | vj1234, seems like #ubuntu requires registering on freenode :( these instructions seem to be ok: /msg nickserv help register | 18:58 |
Akuli | be careful not to put anything before the / when typing a password | 18:59 |
vj1234 | sure thank you Akuli | 19:00 |
Akuli | actually | 19:01 |
Akuli | /join #deluge | 19:01 |
Akuli | lol there's a channel just for deluge | 19:01 |
Akuli | vj1234, no need to register anywhere | 19:02 |
vj1234 | okies | 19:02 |
johnjay | lol damn | 19:05 |
johnjay | ok i checked the hd cable and tried raspbian, they both worked fine | 19:05 |
johnjay | but now when I try my ubuntu-mate sd card I can't even get a grub screen or anything | 19:06 |
johnjay | no video, zip | 19:06 |
johnjay | is there a way I can mount the sd card in my usb drive and enable grub or something | 19:06 |
Akuli | johnjay, i know how to do that on a desktop ubuntu | 19:11 |
Akuli | no idea about raspberry pis | 19:11 |
johnjay | well. let me check. what file should I look for, /boot/grub? | 19:11 |
Akuli | i really have no idea how their grubs work | 19:11 |
Akuli | on a desktop i would mount and chroot | 19:11 |
Akuli | usually i'm too lazy to look up which things i should mount (/proc, /run and some others) so i just follow error messages :D | 19:12 |
johnjay | hmm | 19:14 |
johnjay | i can't cd into some directly because permissions? | 19:14 |
johnjay | ah ok | 19:14 |
johnjay | well there is a grub folder but it seems to be unused | 19:15 |
johnjay | just has a grubenv file in it | 19:15 |
Akuli | $ sudo -i | 19:15 |
Akuli | no more permission stuff :) | 19:15 |
johnjay | haha | 19:16 |
johnjay | well let's see | 19:16 |
johnjay | i have 4 folders | 19:16 |
johnjay | PI_BOOT which contains some stuff | 19:16 |
Akuli | like i said | 19:16 |
Akuli | i have no idea how this works | 19:16 |
johnjay | PI_ROOT which contains the system (/mnt, /home, etc) | 19:16 |
johnjay | a SETTINGS folder and a SETTINGS1 folder | 19:16 |
johnjay | in SETTINGS1/noob.conf it just has 4 lines. one says to boot to partition 6. another says display mode 0 | 19:17 |
johnjay | ah ok well just thought maybe it was similar | 19:18 |
johnjay | since it's still a ubuntu-mate image | 19:18 |
johnjay | i think i installed xserver-xorg-video something | 19:19 |
Akuli | i guess the boot loader stuff is quite different | 19:19 |
johnjay | so i think that what caused it to stop | 19:19 |
johnjay | but now i can't do anything | 19:19 |
johnjay | keyboard input doesn't work. holding shift. nothing | 19:19 |
Jack_Sparrow__ | Running around using sudo rights is a BAD IDEA | 19:19 |
johnjay | i still see the kernel bootup messages and the ubuntu mate logo for a second | 19:19 |
johnjay | then blank screen | 19:19 |
johnjay | nothing | 19:19 |
johnjay | keyboard won't even light up | 19:19 |
Akuli | Jack_Sparrow__, depends on which programs you run, but yeah avoid it if you don't feel ok with it | 19:20 |
johnjay | >says to avoid bad ideas | 19:20 |
johnjay | >name is Jack_Sparrow | 19:20 |
Akuli | lol | 19:20 |
johnjay | anyway Akuli I still have the orig ubuntu mate image so i can reinstall it | 19:21 |
johnjay | is there a way to use gparted or something to partition the sd card into 2 halves so i have a backup partition? | 19:22 |
johnjay | i mean maybe the sd card is toast, i'm not even sure how i would check that | 19:22 |
Akuli | i have no idea | 19:22 |
Jack_Sparrow__ | johnjay, are you trying to have one of those partitions bootable.. then no | 19:23 |
johnjay | well that might be nice | 19:25 |
johnjay | but i was thinking also like what they have on windows | 19:25 |
johnjay | where you have a tiny restore partition | 19:25 |
johnjay | and from that you can restore the system | 19:25 |
Jack_Sparrow__ | Gparted will partition a drive | 19:26 |
johnjay | can I use it with the drive mounted as usb | 19:26 |
johnjay | and just unzip the image or whatever from the backup partition to the main one? | 19:27 |
johnjay | or better resize the broken partition i have now so I can add a backup one lol | 19:27 |
Jack_Sparrow__ | johnjay, I have a / root , /home/jack/Desktop and /media/UserData | 19:28 |
Jack_Sparrow__ | I slide a fresh install right under my desktop. If something is on my Desktop, it is safe. Keeps my life simple | 19:29 |
Jack_Sparrow__ | Full install in 15 minutes and my icons are still on my Desktop | 19:30 |
johnjay | not sure what you mean but sounds goood | 19:30 |
johnjay | *good | 19:30 |
Jack_Sparrow__ | Time for lunch.. cya | 19:31 |
johnjay | heh | 19:33 |
johnjay | well Akuli i realize this isn't your area | 19:33 |
johnjay | but what do you think i should do next | 19:33 |
Akuli | i'd probably try rewriting the sd card | 19:33 |
Akuli | brb | 19:33 |
johnjay | keep troubleshooting or just reformat the sd card or try and do some kind of hardware read/write test on the sd card? | 19:33 |
=== gabriel is now known as Guest72781 | ||
gabriel_ | a | 19:57 |
=== don is now known as Guest83102 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!