• General Linux Chat and Small Questions v. I broke my Arch Install
    6,886 replies, posted
[QUOTE=PredGD;43939918]if I recall correctly, it's been to get some software which hasn't been in the repos enabled.[/QUOTE] I have no experience with it myself, but I'm pretty sure that mixing repos with identical packages from two distro-versions could be bad.
[QUOTE=Anderen2;43939981]I have no experience with it myself, but I'm pretty sure that mixing repos with identical packages from two distro-versions could be bad.[/QUOTE] I'm as clueless as you are, I'll remove the ones I added for now just to be on the safe side
[QUOTE=PredGD;43939996]I'm as clueless as you are, I'll remove the ones I added for now just to be on the safe side[/QUOTE] Did it do any difference with the packages you wanted to install after updating? Or using aptitude? Also, does "sudo apt-get install libc6:i386" work any different?
[QUOTE=Anderen2;43940028]Did it do any difference with the packages you wanted to install after updating? Or using aptitude? Also, does "sudo apt-get install libc6:i386" work any different?[/QUOTE] didn't change anything, so don't think that could have caused it. this is the output for that, by the way [code]root@diglett:/etc/apt# apt-get install libc6:i386 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: apache2-mpm-prefork : Depends: apache2.2-bin (= 2.2.22-13+deb7u1) but it is not going to be installed apache2.2-common : Depends: apache2.2-bin (= 2.2.22-13+deb7u1) but it is not going to be installed Depends: apache2-utils but it is not going to be installed Depends: procps Depends: perl but it is not going to be installed Recommends: ssl-cert but it is not going to be installed libbz2-1.0 : PreDepends: multiarch-support libc6 : Depends: libgcc1 but it is not going to be installed Breaks: libc6:i386 (!= 2.17-97) but 2.13-38+deb7u1 is to be installed libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed Breaks: libc6 (!= 2.13-38+deb7u1) but 2.17-97 is to be installed libcomerr2 : PreDepends: multiarch-support libdb5.1 : PreDepends: multiarch-support libgssapi-krb5-2 : Depends: libkeyutils1 but it is not going to be installed Depends: libkrb5support0 (>= 1.7dfsg~beta2) but it is not going to be installed PreDepends: multiarch-support libk5crypto3 : Depends: libkeyutils1 but it is not going to be installed Depends: libkrb5support0 (>= 1.7dfsg~beta2) but it is not going to be installed PreDepends: multiarch-support libkrb5-3 : Depends: libkeyutils1 but it is not going to be installed Depends: libkrb5support0 (= 1.10.1+dfsg-5+deb7u1) but it is not going to be installed PreDepends: multiarch-support libmagic1 : PreDepends: multiarch-support libpcre3 : PreDepends: multiarch-support libssl1.0.0 : Depends: debconf (>= 0.5) but it is not going to be installed or debconf-2.0 PreDepends: multiarch-support libxml2 : Depends: liblzma5 (>= 5.1.1alpha+20120614) but it is not going to be installed PreDepends: multiarch-support Recommends: xml-core but it is not going to be installed php5-common : Depends: sed (>= 4.1.1-1) but it is not going to be installed Depends: psmisc (>= 22.15-1~) but it is not going to be installed PreDepends: dpkg (>= 1.15.7.2~) tzdata : Depends: debconf (>= 0.5) but it is not going to be installed or debconf-2.0 ucf : Depends: debconf (>= 1.5.19) but it is not going to be installed Depends: coreutils (>= 5.91) zlib1g : PreDepends: multiarch-support E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. [/code]
I really don't want to know how you've managed to fuck up a system that badly. You've got repos for the current version of Debian, the last one, and some random Ubuntu shit in there. You should throw in the testing and unstable repos for Debian too, and the multimedia repo, and then maybe throw it into the pits of hell.
[QUOTE=nikomo;43940431]I really don't want to know how you've managed to fuck up a system that badly. You've got repos for the current version of Debian, the last one, and some random Ubuntu shit in there. You should throw in the testing and unstable repos for Debian too, and the multimedia repo, and then maybe throw it into the pits of hell.[/QUOTE] Is the multimedia repo actually that much a colossal piece of ass? I know it was causing me grief on Mint for some un-fucking-known reason. Aptitude was just failing to update thanks to the Ubuntu multimedia repos. Once I disabled them it started working again. Even though I've only just really got Mint set up how I want to use a Linux system, I already want to go further down the rabbit hole and install something else that provides less so I can play around with configuring it. Dammit, this is why I stopped delving into Linux a few years ago, I kept doing this to the only PC I had meaning I got no real work done.
[QUOTE=nikomo;43940431]I really don't want to know how you've managed to fuck up a system that badly. You've got repos for the current version of Debian, the last one, and some random Ubuntu shit in there. You should throw in the testing and unstable repos for Debian too, and the multimedia repo, and then maybe throw it into the pits of hell.[/QUOTE] that's not nice [IMG]http://fi.somethingawful.com/images/smilies/frown.gif[/IMG]
[QUOTE=PredGD;43940038]didn't change anything, so don't think that could have caused it. this is the output for that, by the way [code]root@diglett:/etc/apt# apt-get install libc6:i386 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: apache2-mpm-prefork : Depends: apache2.2-bin (= 2.2.22-13+deb7u1) but it is not going to be installed apache2.2-common : Depends: apache2.2-bin (= 2.2.22-13+deb7u1) but it is not going to be installed Depends: apache2-utils but it is not going to be installed Depends: procps Depends: perl but it is not going to be installed Recommends: ssl-cert but it is not going to be installed libbz2-1.0 : PreDepends: multiarch-support libc6 : Depends: libgcc1 but it is not going to be installed Breaks: libc6:i386 (!= 2.17-97) but 2.13-38+deb7u1 is to be installed libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed Breaks: libc6 (!= 2.13-38+deb7u1) but 2.17-97 is to be installed libcomerr2 : PreDepends: multiarch-support libdb5.1 : PreDepends: multiarch-support libgssapi-krb5-2 : Depends: libkeyutils1 but it is not going to be installed Depends: libkrb5support0 (>= 1.7dfsg~beta2) but it is not going to be installed PreDepends: multiarch-support libk5crypto3 : Depends: libkeyutils1 but it is not going to be installed Depends: libkrb5support0 (>= 1.7dfsg~beta2) but it is not going to be installed PreDepends: multiarch-support libkrb5-3 : Depends: libkeyutils1 but it is not going to be installed Depends: libkrb5support0 (= 1.10.1+dfsg-5+deb7u1) but it is not going to be installed PreDepends: multiarch-support libmagic1 : PreDepends: multiarch-support libpcre3 : PreDepends: multiarch-support libssl1.0.0 : Depends: debconf (>= 0.5) but it is not going to be installed or debconf-2.0 PreDepends: multiarch-support libxml2 : Depends: liblzma5 (>= 5.1.1alpha+20120614) but it is not going to be installed PreDepends: multiarch-support Recommends: xml-core but it is not going to be installed php5-common : Depends: sed (>= 4.1.1-1) but it is not going to be installed Depends: psmisc (>= 22.15-1~) but it is not going to be installed PreDepends: dpkg (>= 1.15.7.2~) tzdata : Depends: debconf (>= 0.5) but it is not going to be installed or debconf-2.0 ucf : Depends: debconf (>= 1.5.19) but it is not going to be installed Depends: coreutils (>= 5.91) zlib1g : PreDepends: multiarch-support E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. [/code][/QUOTE] Well, I am out of ideas then. I think the best course of action would be to reinstall. It seems to me that you have encountered some kind of dependency hell because of all the different versions (And distro) packages you have on your system. Installing libc6:i386 should be no problem on healthy systems.
[QUOTE=Anderen2;43940530]Well, I am out of ideas then. I think the best course of action would be to reinstall. It seems to me that you have encountered some kind of dependency hell because of all the different versions (And distro) packages you have on your system. Installing libc6:i386 should be no problem on healthy systems.[/QUOTE] yeah, most likely. what do I do with software I absolutely need which isn't on the main repo though? the ubuntu thing was added because of something with java as it wasn't available on the debian repo. not sure where squeezy came in, but most likely for something I need.
[QUOTE=PredGD;43940547]yeah, most likely. what do I do with software I absolutely need which isn't on the main repo though? the ubuntu thing was added because of something with java as it wasn't available on the debian repo. not sure where squeezy came in, but most likely for something I need.[/QUOTE] I just read about it myself while googling for your problem, so I haven't tried it myself. You could appearently use source.list.d and /etc/apt/apt.conf.d/ to safely install packages from repos unsafe to apply systemwide. See [URL="http://unix.stackexchange.com/a/60557"]http://unix.stackexchange.com/a/60557[/URL]
[QUOTE=Anderen2;43940584]I just read about it myself while googling for your problem, so I haven't tried it myself. You could appearently use source.list.d and /etc/apt/apt.conf.d/ to safely install packages from repos unsafe to apply systemwide. See [URL]http://unix.stackexchange.com/a/60557[/URL][/QUOTE] alright, thanks. will look some into that tomorrow after I've done backing up stuff.
[QUOTE=hexpunK;43940497]Is the multimedia repo actually that much a colossal piece of ass? I know it was causing me grief on Mint for some un-fucking-known reason. Aptitude was just failing to update thanks to the Ubuntu multimedia repos. Once I disabled them it started working again. Even though I've only just really got Mint set up how I want to use a Linux system, I already want to go further down the rabbit hole and install something else that provides less so I can play around with configuring it. Dammit, this is why I stopped delving into Linux a few years ago, I kept doing this to the only PC I had meaning I got no real work done.[/QUOTE] There's nothing wrong with the Debian multimedia repo, I use it myself, I said that because it's a VPS so installing multimedia stuff on it would be retarded. Here's my sources.list: [code] deb http://cdn.debian.net/debian/ testing main contrib non-free deb-src http://cdn.debian.net/debian/ testing main contrib non-free deb http://security.debian.org/ testing/updates main deb-src http://security.debian.org/ testing/updates main # jessie-updates, previously known as 'volatile' deb http://cdn.debian.net/debian/ testing-updates main deb-src http://cdn.debian.net/debian/ testing-updates main # jessie-backports, previously on backports.debian.org deb http://cdn.debian.net/debian/ jessie-backports main deb-src http://cdn.debian.net/debian/ jessie-backports main #multimedia repos for ffmpeg - fuck libav deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia/ stable main deb-src http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia/ stable main [/code]
Is it possible for someone who doesn't have access to my Apache config see what things I have setup on mod_proxy? Say I have an IP on my local network mod_proxied to mydomain.ca/ihopenobodyfindsthis on the outside, would it be possible for someone to access /ihopenobodyfindsthis without knowing the link? Besides brute forcing it of course. Today I threw together some ugly Python / Arduino thing to remotely turn my desktop and second server on and off, but I'm not sure if I should go through the trouble of fixing it up a little to have a password prompt.
[QUOTE=nikomo;43940694]There's nothing wrong with the Debian multimedia repo, I use it myself, I said that because it's a VPS so installing multimedia stuff on it would be retarded. Here's my sources.list: [code] deb http://cdn.debian.net/debian/ testing main contrib non-free deb-src http://cdn.debian.net/debian/ testing main contrib non-free deb http://security.debian.org/ testing/updates main deb-src http://security.debian.org/ testing/updates main # jessie-updates, previously known as 'volatile' deb http://cdn.debian.net/debian/ testing-updates main deb-src http://cdn.debian.net/debian/ testing-updates main # jessie-backports, previously on backports.debian.org deb http://cdn.debian.net/debian/ jessie-backports main deb-src http://cdn.debian.net/debian/ jessie-backports main #multimedia repos for ffmpeg - fuck libav deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia/ stable main deb-src http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia/ stable main [/code][/QUOTE] Ahh fair enough. The way you worded it made it look like it was the worst imaginable thing to me. Still not entirely sure why it was never working for me though, might be worth digging through my sources list and seeing what's up with that.
[QUOTE=benjgvps;43940763]Is it possible for someone who doesn't have access to my Apache config see what things I have setup on mod_proxy? Say I have an IP on my local network mod_proxied to mydomain.ca/ihopenobodyfindsthis on the outside, would it be possible for someone to access /ihopenobodyfindsthis without knowing the link? Besides brute forcing it of course. Today I threw together some ugly Python / Arduino thing to remotely turn my desktop and second server on and off, but I'm not sure if I should go through the trouble of fixing it up a little to have a password prompt.[/QUOTE] Not really but Apache is vulnerable to a lot of different attacks.
Anyone know a way to run netcat in listen mode, but not have it exit when a client closes the connection? Edit: Everywhere I check, they say -k is supposed to do it, but nope. Edit2: Debian isn't running GNU netcat, it's running some bullshit version, so it doesn't have -k, what the fuck
Get nmap-netcat It's the best version out there. Also the netcat version installed on my server seems to support -k. I can give you the source files from the repo if you want so you can compile it.
some more issues with SteamCMD. managed to clean up the dependency hell with a reinstall, but for some reason SteamCMD still refuses to work. this is what the error is, as well as the rest [code]root@Diglett:/home/zomboid# /home/zomboid/steamcmd.sh +login predgd password +force_install_dir /home/zomboid/zomboid +app_update 108600 -beta onlinetest validate +exit Redirecting stderr to '/root/Steam/logs/stderr.txt' ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". [ 0%] Checking for available update... [ 0%] Downloading update (0 of 10,607 KB)... [ 0%] Downloading update (209 of 10,607 KB)... [ 1%] Downloading update (1,684 of 10,607 KB)... [ 15%] Downloading update (2,840 of 10,607 KB)... [ 26%] Downloading update (3,855 of 10,607 KB)... [ 36%] Downloading update (4,820 of 10,607 KB)... [ 45%] Downloading update (5,830 of 10,607 KB)... [ 54%] Downloading update (6,896 of 10,607 KB)... [ 65%] Downloading update (7,736 of 10,607 KB)... [ 72%] Downloading update (8,772 of 10,607 KB)... [ 82%] Downloading update (9,564 of 10,607 KB)... [ 90%] Downloading update (10,096 of 10,607 KB)... [ 95%] Downloading update (10,346 of 10,607 KB)... [ 97%] Downloading update (10,563 of 10,607 KB)... [ 99%] Downloading update (10,607 of 10,607 KB)... [100%] Download Complete. [----] Applying update... [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Installing update... [----] Installing update... [----] Failed to apply update, reverting... [----] Verifying installation... [ 0%] Downloading Update... [ 0%] Checking for available update... [ 0%] Download Complete. [----] Extracting package... [----] Extracting package... [----] Extracting package... [----] Installing update... [----] Installing update... [----] Failed to apply update, reverting... [----] !!! Fatal Error: Failed to load libsteam.so[/code] [editline]17th February 2014[/editline] oops, nevermind, apparently it can't be ran with root unless steamcmd.sh is located in root's homefolder.
[QUOTE=PredGD;43944614]some more issues with SteamCMD. managed to clean up the dependency hell with a reinstall, but for some reason SteamCMD still refuses to work. this is what the error is, as well as the rest [code]root@Diglett:/home/zomboid# /home/zomboid/steamcmd.sh +login predgd password +force_install_dir /home/zomboid/zomboid +app_update 108600 -beta onlinetest validate +exit {...} [----] !!! Fatal Error: Failed to load libsteam.so[/code][/QUOTE] [code]find -name libsteam.so /var/lib /lib /lib64 /home/zomboid[/code] Can you post the result of that?
[QUOTE=Mega1mpact;43944537]Get nmap-netcat It's the best version out there. Also the netcat version installed on my server seems to support -k. I can give you the source files from the repo if you want so you can compile it.[/QUOTE] Christ, thanks, that works fucking perfectly. I got tired of all the bullshit so I just grabbed the nmap package from Ubuntu 12.04.
[QUOTE=Mega1mpact;43943010]Not really but Apache is vulnerable to a lot of different attacks.[/QUOTE] Such as? I've been using different kinds of web servers on my Linux server box (mostly just mongoose and quark though), and I've always stayed far away from PHP for it's current known exploits and vulnerabilities, but I never knew about Apaches ones.
Apache itself is very secure. The main Security problems lie within PHP and CGI stuff. [editline]17th February 2014[/editline] Sometimes you may need to configure stuff here and there to harden it more, but this can also be said about nginx. [editline]17th February 2014[/editline] I personally go with Nginx + Naxsi with Forced SSL for all my needs for a secure webserver. Also added some fail2ban rules to block some well-known vulnerability scanners.
[QUOTE=mastersrp;43946659]Such as? I've been using different kinds of web servers on my Linux server box (mostly just mongoose and quark though), and I've always stayed far away from PHP for it's current known exploits and vulnerabilities, but I never knew about Apaches ones.[/QUOTE] Hashtable, slow post, slow read, etc... You can actually combine a lot of them.
[url]http://www.unixstickers.com/opensuse[/url] I think it might be time to "decorate" my laptop.
Tonight's class was rather eventful. The bad news is that I had baby's first kernel panic after five or six years of first using the OS. The bad news is that it happened during a project presentation to the class. The bad news is that the person who sat next to me tried to lecture me why I should be using Manjaro instead of Ubuntu GNOME. I don't even know what caused the panic to begin with, I only had a web browser and a text editor up.
You should tell the guy that he's a filthy casual who should use Slackware.
[QUOTE=Little Donny;43951950][url]http://www.unixstickers.com/opensuse[/url] I think it might be time to "decorate" my laptop.[/QUOTE] They don't have any RHEL stickers or Fedora stickers sadly.
[QUOTE=nikomo;43955443]You should tell the guy that he's a filthy casual who should use Slackware.[/QUOTE] And then some random Sysadmin in the crowd would shout that they both should feel bad for not using CentOS.
I kinda want to get some custom stickers made. Stuff like #!/usr/bin/fish etc
I just got the urge to print out a photo of RMS being all sexy, and put it on the Serverroom door.
Sorry, you need to Log In to post a reply to this thread.