Duplicate sources in package manager. (Linux Mint 15 64bit)

So i at random, was greeted by my package manager today with a duplicate source issue. This thing has been driving me crazy.. i keep throwing solutions at it, and it goes right back to it. SO..we are going to figure this out right quick!

here is what i am getting.

<pre><strong>Reading package lists... Error!</strong>
<strong>W: Duplicate sources.list entry http://packages.linuxmint.com/ olivia/main amd64 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_olivia_main_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://packages.linuxmint.com/ olivia/upstream amd64 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_olivia_upstream_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://packages.linuxmint.com/ olivia/import amd64 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_olivia_import_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://packages.linuxmint.com/ olivia/main i386 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_olivia_main_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://packages.linuxmint.com/ olivia/upstream i386 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_olivia_upstream_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://packages.linuxmint.com/ olivia/import i386 Packages (/var/lib/apt/lists/packages.linuxmint.com_dists_olivia_import_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring/main amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring_main_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring_restricted_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring_universe_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring/multiverse amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring_multiverse_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring_main_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring_restricted_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring/universe i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring_universe_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring/multiverse i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring_multiverse_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring-updates/main amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring-updates_main_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring-updates/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring-updates_restricted_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring-updates/universe amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring-updates_universe_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring-updates/multiverse amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring-updates_multiverse_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring-updates/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring-updates_main_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring-updates/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring-updates_restricted_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring-updates/universe i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring-updates_universe_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ raring-updates/multiverse i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_raring-updates_multiverse_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/main amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_main_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/restricted amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_restricted_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/universe amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_universe_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/multiverse amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_multiverse_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_main_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_restricted_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/universe i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_universe_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ raring-security/multiverse i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_raring-security_multiverse_binary-i386_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ raring/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_raring_partner_binary-amd64_Packages)</strong>
<strong>W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ raring/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_raring_partner_binary-i386_Packages)</strong>
<strong>E: Encountered a section with no Package: header</strong>
<strong>E: Problem with MergeList /var/lib/apt/lists/packages.medibuntu.org_dists_raring_free_i18n_Translation-en</strong>
<strong>E: The package lists or status file could not be parsed or opened.


So i am going to figure this out, and let you know..from what i have tried, nothing seems to be fixing it. I will be back with the solution!

Enabling nvidia-prime on Linux Mint 15.

So i was reading a article about how to enable your nvidia card full time without having to use bumblebee in Linux. So on my Laptop running Linux Mint 15 Cinnamon Edition 64bit, i had started following the steps on this page. Ubuntu Pastebin.

Not everything on this walkthrough was installing, but i did figure out how to get it work.

Here is what i did to make my Nvidia card run full time on my laptop.

 

1.) Follow the steps through the walkthrough, all the way until you get to “sudo make install” of xrandr 1.4

The creation for the xorg.conf file didn’t work out for me, so i just deleted it. Also, the .xsessionrc didn’t work either. The desktop wouldn’t load, and i just got a black screen.

2.) I then did the section where it says,

sudo add-apt-repository ppa:canonical-x/x-staging

sudo add-apt-repository ppa:xorg-edgers/ppa

sudo apt-get update && sudo apt-get upgrade

sudo apt-get install nvidia-319

Ok so note that it says nvidia-319. It does install it, but it also installs nvidia-325. When you run nvidia-settings, it actually shows version 325.15 running as your graphics driver.

3.) I skipped the part where it has you install xorg-server 1.14, but i did install the libudev0 file.

4.) I skipped down to the virtualgl section and installed that.

5.) I then grabbed nvidia-prime from here https://launchpad.net/ubuntu/+source/nvidia-prime/0.3~hybrid0.0.1/+build/4862580/+files/nvidia-prime_0.3%7Ehybrid0.0.1_all.deb

Ok so when you install nvidia-prime, it is going to ask you to install lightdm, and a few other things as well. I am not sure if it requires you to use lightdm as your login manager, but i chose to use it anyway. So my login on Mint looks like ubuntu’s login screen..lol.

6.) Reboot your computer.

Now i cant say this will work for everyone. It just worked for me. I was able to start up games / nvidia-settings without “optirun” or “primusrun”! I am very happy.

Just follow these carefully. You can always purge files if you have a error and need to go back to before this attempt.

Good Luck!

PS: you can read more about nvidia-prime enabling in Ubuntu 13.10 as well. Here

http://www.webupd8.org/2013/08/using-nvidia-graphics-drivers-with.html

-Orkultus-

 

 

 

My Thoughts on Unity Games on Linux.

Well im gonna rant about a few pro’s and con’s about what i feel towards the Unity Engine. I am glad they made the effort to bring it to Linux, and open up so many more devs to the option to supply us with a ton more games. It has encouraged alot of other developers who dont use Unity to create more native ports of games for Linux as well.

As for the performance of the engine…well i feel it is a bit sluggish, and doesn’t even compare to the source engine(which is 10x faster and 10x better looking). Ive noticed that it does not work well with fullscreen support most of the time. How it uses mono kind of bothers me. That project felt like it was going out the window soon.

As for my thoughts about the Developers who use the Unity 4.0. I have noticed that alot of developers who say that they are going to release their game on “Linux, Windows, and Mac”, decide to build their game around this Middleware that only seems to work on Windows and Mac. This causing them to have to work even more, and take longer to release the Linux version. Why they do this, just doesn’t make sense. I know they are in a rush to get their game out and working for Windows platform first. They always are..but wouldn’t it just make things easier to work on all three versions of the game so that they all work well at launch?

I dont know..but the way the Unity team described how easy it is to export to Linux…just sounds like a lie.

As for the steam greenlight community. It makes me wonder if alot of those devs are lying about making a native client for all three OS’s just to get their game onto steam. You try and ask a dev about a Linux version, and they just run around in circles and never give you a direct answer. They always say they are using the Unity engine, but they never release the Linux version of any of their demos. Only a few have, and i thank those devs for that.

So that pretty much clears up how i feel about it. I mean it has brought some good games to Linux, and i do enjoy them. I just wish most of the devs (not all), were smarter when it came to releasing their games with it.

Steam crashing while viewing game pages in 64bit Linux (With Videos)

So my steam has been crashing every time i go to browse the store for games. It only seems to be crashing with games that have video previews. So this to me sounds like a flash player problem. Since im running Linux mint 15 64bit, i needed to put in “libflashplayer.so (32bit)” in my “~/.local/share/Steam/ubuntu12_32/plugins” folder. Since inside “/ubuntu12_32” doesn’t have a folder called “/plugins“, i just had to make one with “mkdir plugins“. Then i grabbed the latest copy of the 32bit flash player from “http://get.adobe.com/flashplayer/otherversions/“, by selecting “linux(32bit)” as my operating system, and grabbing the “.tar.gz” file. Then extracted the “libflashplayer.so” file in the new “/plugins” folder inside of my “/ubuntu12_32” directory.

   This problem most likely has been posted everywhere, and people have figured this solution out before, but oddly in my 64bit..i had never had to do this until just a few days ago. It had always just worked without doing so. Anyway..for those who do need this solution, i am posting it.

My steam is working well now. Good luck!

-Orkultus-