Skip to main content
I have a high rep so I changed hxxp to http
Source Link
Suici Doga
  • 2.8k
  • 5
  • 21
  • 49

sudo mc

sudo mc

--->navigate to each of these files & using "F4">then editing the following files>CTRL+X>Y>keep file name the same.

Navigate to each of these files & using F4then editing the following files> CTRL+XYkeep file name the same.

--->File #File list

-> /etc/apt/sources.list --->added (for some reason they were deleted) --->

Elementary PPA - hxxp://www.elementaryos.com

deb hxxp://ppa.launchpad.net/elementary-os/os-patches/ubuntu trusty main deb hxxp://ppa.launchpad.net/elementary-os/daily/ubuntu trusty main deb hxxp://ppa.launchpad.net/elementary-os/testing/ubuntu trusty main

-> /etc/apt/sources.list.d/elmentary.list --->removed # (both lines were commented out)

deb hxxp://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main deb-src hxxp://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main

-> /etc/ls-release

--->replaced (for some reason had been changed to Ubuntu 14.04) ---->

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=14.04

DISTRIB_CODENAME=trusty

DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

----Changed to reflect Elementary OS Freya

DISTRIB_ID="elementary OS"

DISTRIB_RELEASE=0.3.1

DISTRIB_CODENAME=freya

DISTRIB_DESCRIPTION="elementary OS Freya"

-> /etc/os-release

--->replaced (for some reason had been changed to Ubuntu 14.04)---->

NAME="Ubuntu"

VERSION="14.04.1 LTS, Trusty Tahr"

ID=ubuntu

ID_LIKE=debian

PRETTY_NAME="Ubuntu 14.04.1 LTS"

VERSION_ID="14.04"

HOME_URL="hxxp://www.ubuntu.com/"

SUPPORT_URL="hxxp://help.ubuntu.com/"

BUG_REPORT_URL="hxxp://bugs.launchpad.net/ubuntu/" ###/etc/apt/sources.list

---->Changed to reflect Elementary OS Freya

#### elementary OS PPA - http://www.elementaryos.com
deb http://ppa.launchpad.net/elementary-os/os-patches/ubuntu trusty main
deb http://ppa.launchpad.net/elementary-os/daily/ubuntu trusty main
deb http://ppa.launchpad.net/elementary-os/testing/ubuntu trusty main

NAME="elementary OS"###/etc/apt/sources.list.d/elementary.list

VERSION="0.3.2 Freya"

deb http://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main
deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main

ID="elementary OS"###/etc/ls-release

ID_LIKE=ubuntu

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=14.04

DISTRIB_CODENAME=trusty

DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

PRETTY_NAME="elementary OS Freya"

Changed to reflect elementary OS Freya

VERSION_ID="0.3.1"

DISTRIB_ID="elementary OS"

DISTRIB_RELEASE=0.3.1

DISTRIB_CODENAME=freya

DISTRIB_DESCRIPTION="elementary OS Freya"

HOME_URL="hxxp://elementary.io/"###/etc/os-release

SUPPORT_URL="hxxp://elementary.io/support/"

NAME="Ubuntu"

VERSION="14.04.1 LTS, Trusty Tahr"

ID=ubuntu

ID_LIKE=debian

PRETTY_NAME="Ubuntu 14.04.1 LTS"

VERSION_ID="14.04"

HOME_URL="http://www.ubuntu.com/"

SUPPORT_URL="http://help.ubuntu.com/"

BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

BUG_REPORT_URL="hxxps://bugs.launchpad.net/elementary/+filebug"

Changed to reflect Elementary OS Freya

(You must replace hxxp with http, due to site restrictions. Also files ls-release & os-release should not have spaces, the site bunched the information, so I added the spaces to make this post easier to read)

NAME="elementary OS"

VERSION="0.3.2 Freya"

ID="elementary OS"

ID_LIKE=ubuntu

PRETTY_NAME="elementary OS Freya"

VERSION_ID="0.3.1"

HOME_URL="http://elementary.io/"

SUPPORT_URL="http://elementary.io/support/"

BUG_REPORT_URL="https://bugs.launchpad.net/elementary/+filebug"

Then I followed the steps here: sudo apt-get update sudo apt-get -f install sudo apt-get dist-upgrade sudo apt-get install --reinstall humanity-icon-theme elementary-icon-theme

sudo apt-get update
sudo apt-get -f install
sudo apt-get dist-upgrade
sudo apt-get install --reinstall humanity-icon-theme elementary-icon-theme

<<<>>> You can potential bork your entire system. I do not recommend attempting this repair without feeling comfortable with using the command line.

WARNING . You can potential bork your entire system. I do not recommend attempting this repair without feeling comfortable with using the command line.

sudo mc

--->navigate to each of these files & using "F4">then editing the following files>CTRL+X>Y>keep file name the same.

--->File list

-> /etc/apt/sources.list --->added (for some reason they were deleted) --->

Elementary PPA - hxxp://www.elementaryos.com

deb hxxp://ppa.launchpad.net/elementary-os/os-patches/ubuntu trusty main deb hxxp://ppa.launchpad.net/elementary-os/daily/ubuntu trusty main deb hxxp://ppa.launchpad.net/elementary-os/testing/ubuntu trusty main

-> /etc/apt/sources.list.d/elmentary.list --->removed # (both lines were commented out)

deb hxxp://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main deb-src hxxp://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main

-> /etc/ls-release

--->replaced (for some reason had been changed to Ubuntu 14.04) ---->

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=14.04

DISTRIB_CODENAME=trusty

DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

----Changed to reflect Elementary OS Freya

DISTRIB_ID="elementary OS"

DISTRIB_RELEASE=0.3.1

DISTRIB_CODENAME=freya

DISTRIB_DESCRIPTION="elementary OS Freya"

-> /etc/os-release

--->replaced (for some reason had been changed to Ubuntu 14.04)---->

NAME="Ubuntu"

VERSION="14.04.1 LTS, Trusty Tahr"

ID=ubuntu

ID_LIKE=debian

PRETTY_NAME="Ubuntu 14.04.1 LTS"

VERSION_ID="14.04"

HOME_URL="hxxp://www.ubuntu.com/"

SUPPORT_URL="hxxp://help.ubuntu.com/"

BUG_REPORT_URL="hxxp://bugs.launchpad.net/ubuntu/"

---->Changed to reflect Elementary OS Freya

NAME="elementary OS"

VERSION="0.3.2 Freya"

ID="elementary OS"

ID_LIKE=ubuntu

PRETTY_NAME="elementary OS Freya"

VERSION_ID="0.3.1"

HOME_URL="hxxp://elementary.io/"

SUPPORT_URL="hxxp://elementary.io/support/"

BUG_REPORT_URL="hxxps://bugs.launchpad.net/elementary/+filebug"

(You must replace hxxp with http, due to site restrictions. Also files ls-release & os-release should not have spaces, the site bunched the information, so I added the spaces to make this post easier to read)

Then I followed the steps here: sudo apt-get update sudo apt-get -f install sudo apt-get dist-upgrade sudo apt-get install --reinstall humanity-icon-theme elementary-icon-theme

<<<>>> You can potential bork your entire system. I do not recommend attempting this repair without feeling comfortable with using the command line.

sudo mc

Navigate to each of these files & using F4then editing the following files> CTRL+XYkeep file name the same.

#File list

###/etc/apt/sources.list

#### elementary OS PPA - http://www.elementaryos.com
deb http://ppa.launchpad.net/elementary-os/os-patches/ubuntu trusty main
deb http://ppa.launchpad.net/elementary-os/daily/ubuntu trusty main
deb http://ppa.launchpad.net/elementary-os/testing/ubuntu trusty main

###/etc/apt/sources.list.d/elementary.list

deb http://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main
deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main

###/etc/ls-release

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=14.04

DISTRIB_CODENAME=trusty

DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

Changed to reflect elementary OS Freya

DISTRIB_ID="elementary OS"

DISTRIB_RELEASE=0.3.1

DISTRIB_CODENAME=freya

DISTRIB_DESCRIPTION="elementary OS Freya"

###/etc/os-release

NAME="Ubuntu"

VERSION="14.04.1 LTS, Trusty Tahr"

ID=ubuntu

ID_LIKE=debian

PRETTY_NAME="Ubuntu 14.04.1 LTS"

VERSION_ID="14.04"

HOME_URL="http://www.ubuntu.com/"

SUPPORT_URL="http://help.ubuntu.com/"

BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

Changed to reflect Elementary OS Freya

NAME="elementary OS"

VERSION="0.3.2 Freya"

ID="elementary OS"

ID_LIKE=ubuntu

PRETTY_NAME="elementary OS Freya"

VERSION_ID="0.3.1"

HOME_URL="http://elementary.io/"

SUPPORT_URL="http://elementary.io/support/"

BUG_REPORT_URL="https://bugs.launchpad.net/elementary/+filebug"

Then I followed the steps here:

sudo apt-get update
sudo apt-get -f install
sudo apt-get dist-upgrade
sudo apt-get install --reinstall humanity-icon-theme elementary-icon-theme

WARNING . You can potential bork your entire system. I do not recommend attempting this repair without feeling comfortable with using the command line.

Source Link

I had a similar issues for the past few months with Freya 0.3.1. This was the final step in my repairs. The steps I did to finally resolve this issue was edited these files (take the time to make backups of each of these before starting these steps):

sudo mc

--->navigate to each of these files & using "F4">then editing the following files>CTRL+X>Y>keep file name the same.

--->File list

-> /etc/apt/sources.list --->added (for some reason they were deleted) --->

Elementary PPA - hxxp://www.elementaryos.com

deb hxxp://ppa.launchpad.net/elementary-os/os-patches/ubuntu trusty main deb hxxp://ppa.launchpad.net/elementary-os/daily/ubuntu trusty main deb hxxp://ppa.launchpad.net/elementary-os/testing/ubuntu trusty main

-> /etc/apt/sources.list.d/elmentary.list --->removed # (both lines were commented out)

deb hxxp://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main deb-src hxxp://ppa.launchpad.net/elementary-os/stable/ubuntu trusty main

-> /etc/ls-release

--->replaced (for some reason had been changed to Ubuntu 14.04) ---->

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=14.04

DISTRIB_CODENAME=trusty

DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

----Changed to reflect Elementary OS Freya

DISTRIB_ID="elementary OS"

DISTRIB_RELEASE=0.3.1

DISTRIB_CODENAME=freya

DISTRIB_DESCRIPTION="elementary OS Freya"

-> /etc/os-release

--->replaced (for some reason had been changed to Ubuntu 14.04)---->

NAME="Ubuntu"

VERSION="14.04.1 LTS, Trusty Tahr"

ID=ubuntu

ID_LIKE=debian

PRETTY_NAME="Ubuntu 14.04.1 LTS"

VERSION_ID="14.04"

HOME_URL="hxxp://www.ubuntu.com/"

SUPPORT_URL="hxxp://help.ubuntu.com/"

BUG_REPORT_URL="hxxp://bugs.launchpad.net/ubuntu/"

---->Changed to reflect Elementary OS Freya

NAME="elementary OS"

VERSION="0.3.2 Freya"

ID="elementary OS"

ID_LIKE=ubuntu

PRETTY_NAME="elementary OS Freya"

VERSION_ID="0.3.1"

HOME_URL="hxxp://elementary.io/"

SUPPORT_URL="hxxp://elementary.io/support/"

BUG_REPORT_URL="hxxps://bugs.launchpad.net/elementary/+filebug"

(You must replace hxxp with http, due to site restrictions. Also files ls-release & os-release should not have spaces, the site bunched the information, so I added the spaces to make this post easier to read)

Then I followed the steps here: sudo apt-get update sudo apt-get -f install sudo apt-get dist-upgrade sudo apt-get install --reinstall humanity-icon-theme elementary-icon-theme

Now my Software Center works as it should. Hope this helps others and saves a great amount of time.

<<<>>> You can potential bork your entire system. I do not recommend attempting this repair without feeling comfortable with using the command line.