Android FrameWork Package PackageName have no installation candidate

Source: Internet
Author: User
Tags sha1

Ubuntu download compiled framework source code, Apt-get Run, try to get root permissions to do the following apt-get update apt-get

Upgrade error prompts still appear, source tips various 404 I check the Ubuntu website, see the following information:


The top mirror feature of Ubuntu Night (http://ubuntu9.com) continuously updates current available sources based on current network conditions and source health, including top fast/near/stable mirror, You can find all of the available Ubuntu images on your current network (that is, source) and rank them by average download speed and geographic location. And, when you find the best source for you, you can also download its sources.list file directly and copy it to/etc/apt/sources.list or put it in/etc/apt/ SOUCES.LIST.D directory, it is very convenient, no need to find a usable source.


Different network conditions the speed of connecting the following sources is different, it is recommended to manually verify the connection speed of the following sources before adding (ping line), select the fastest source can save bulk download time


First we need to back up our previous source list files, CP to directory is optional, here only for reference

sudo cp/etc/apt/sources.list/etc/apt/sources.list_backup


My Ubuntu version is relatively low, for which I chose the right source (10.04)


deb Http://archive.ubuntu.com/ubuntu/lucid Main Restricted universe Multiverse
Deb http://archive.ubuntu.com/ubuntu/lucid-security main restricted universe Multiverse
Deb Http://archive.ubuntu.com/ubuntu/lucid-updates main restricted universe Multiverse
Deb/http archive.ubuntu.com/ubuntu/lucid-proposed main restricted universe Multiverse
Deb http://archive.ubuntu.com/ Ubuntu/lucid-backports main restricted universe Multiverse
Deb-src Http://archive.ubuntu.com/ubuntu/lucid Main Restricted universe Multiverse
Deb-src http://archive.ubuntu.com/ubuntu/lucid-security main restricted universe Multiverse
Deb-src http://archive.ubuntu.com/ubuntu/lucid-updates main restricted universe Multiverse
Deb-src http://archive.ubuntu.com/ubuntu/lucid-proposed main restricted universe Multiverse
Deb-src/http Archive.ubuntu.com/ubuntu/lucid-backports main restricted universe multiverse


There are a lot of other source resources are not introduced, next we need to add source and update Source:


sudo gedit/etc/apt/sources.list


Replace all the new sources you just found, just clear all the previous one and save them after pasting.


sudo apt-get update

sudo apt-get upgrade


......

get:32 http://archive.ubuntu.com lucid-updates/restricted Sources [2,210b]
get:33 http://archive.ubuntu.com lucid-updates/universe Sources [110kB]
get:34 http://archive.ubuntu.com lucid-updates/multiverse Sources [5,829b]
get:35 http://archive.ubuntu.com lucid-proposed/main Packages [236kB]
get:36 http://archive.ubuntu.com lucid-proposed/restricted Packages [28B]
get:37 http://archive.ubuntu.com lucid-proposed/universe Packages [5,379b]
get:38 http://archive.ubuntu.com lucid-proposed/multiverse Packages [28B]
get:39 http://archive.ubuntu.com lucid-proposed/main Sources [137kB]
get:40 http://archive.ubuntu.com lucid-proposed/restricted Sources [28B]
get:41 http://archive.ubuntu.com lucid-proposed/universe Sources [1,031b]
get:42 http://archive.ubuntu.com lucid-proposed/multiverse Sources [28B]
get:43 http://archive.ubuntu.com lucid-backports/main Packages [16.9kB]
get:44 http://archive.ubuntu.com lucid-backports/restricted Packages [14B]
get:45 http://archive.ubuntu.com lucid-backports/universe Packages [55.7kB]
get:46 http://archive.ubuntu.com lucid-backports/multiverse Packages [1,378b]
get:47 http://archive.ubuntu.com lucid-backports/main Sources [9,162b]
get:48 http://archive.ubuntu.com lucid-backports/restricted Sources [14B]
get:49 http://archive.ubuntu.com lucid-backports/universe Sources [24.5kB]
get:50 http://archive.ubuntu.com lucid-backports/multiverse Sources [1,633b]
Fetched 14.7MB in 5min 14s (46.6kb/s)

Time-consuming 5 minutes, I put the source to update, I Ping the next net discovery is OK, download speed should be great

Under a Curl Package:

[Email protected]:/etc/apt# sudo apt-get install curl
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
The following NEW packages'll be installed:
Curl
0 upgraded, 1 newly installed, 0 to remove and 1177 not upgraded.
Need to get 210kB of archives.
After this operation, 324kB of additional disk space would be used.
Get:1 http://archive.ubuntu.com Lucid-security/main Curl 7.19.7-1ubuntu1.11 [210kB]
Fetched 210kB in 6s (33.9KB/S)
Selecting previously deselected package curl.
(Reading database ... 114040 files and directories currently installed.)
Unpacking curl (from .../curl_7.19.7-1ubuntu1.11_i386.deb) ...
Processing triggers for man-db ...
Setting up Curl (7.19.7-1ubuntu1.11) ...
[Email protected]:/etc/apt#
Reading Package Lists ... Done
[Email protected]:/etc/apt#


Then continue to install a Git-core package that downloads the FrameWork source code


[Email protected]:/etc/apt# sudo apt-get install Git-core
Reading Package Lists ... Done
Building Dependency Tree
Reading state information ... Done
The following packages were automatically installed and is no longer required:
Upower LIBUPOWER-GLIB1
Use the ' Apt-get autoremove ' to remove them.
The following extra packages'll be installed:
Consolekit fontconfig-config GDM ifupdown indicator-applet indicator-applet-session initramfs-tools
Initramfs-tools-bin libasound2 libatk1.0-0 libc-bin libc-dev-bin libc6 libc6-dev libc6-i686 libdb4.8
Libdbus-glib-1-2 libdevkit-power-gobject1 Libdigest-sha1-perl libdrm-nouveau1 libdrm-radeon1 Liberror-perl
LIBFONTCONFIG1 libglib2.0-0 libindicator0 libnih-dbus1 libnih1 libperl5.10 libplymouth2 libpopt0 libudev0
LIBUPOWER-GLIB1 libxklavier16 mountall Patch perl perl-base perl-modules Plymouth Udev upower upstart
Suggested Packages:
Uswsusp Gok Git-doc git-arch git-cvs git-svn git-email git-daemon-run git-gui gitk gitweb glibc-doc Diffutils-doc
Perl-doc Libterm-readline-gnu-perl Libterm-readline-perl-perl Watershed
Recommended Packages:
Indicator-sound indicator-application indicator-me Manpages-dev plymouth-theme-ubuntu-text plymouth-theme
The following packages would be removed:
Devicekit-power gnome-power-manager indicator-session ubuntu-desktop usplash Usplash-theme-ubuntu
The following NEW packages'll be installed:
Git-core initramfs-tools-bin libdb4.8 libdigest-sha1-perl libdrm-nouveau1 liberror-perl libindicator0 Libnih-dbus1
LIBNIH1 libplymouth2 libupower-glib1 libxklavier16 Patch Plymouth Upower
The following packages would be upgraded:
Consolekit fontconfig-config GDM ifupdown indicator-applet indicator-applet-session initramfs-tools libasound2
libatk1.0-0 libc-bin libc-dev-bin libc6 libc6-dev libc6-i686 libdbus-glib-1-2 libdevkit-power-gobject1
Libdrm-radeon1 libfontconfig1 libglib2.0-0 libperl5.10 libpopt0 libudev0 mountall perl perl-base perl-modules Udev
Upstart
Upgraded, newly installed, 6 to remove and 1145 not upgraded.
Need to get 32.8MB of archives.
After this operation, 5,808kb of additional disk space would be used.
Want to continue [y/n]?


The speed is very good!! The rest is to download and process some of the relevant support tools and packages such as repo and Python, and because the framework download time is too long, it does not introduce

Mainly to solve the problem of Ubuntu low version of the source can not be used, but also in the detour of the friends to see, do not look around the irrelevant blog and information, that will only be a variety of misleading!!

Sometimes it's most reliable to find the official website information.


There is, to promote, my csdn textbooks, is to hope that more friends know me, and then discuss the development issues, although usually very busy, no need to reply to your questions, I apologize!

Textbook Address: http://edu.csdn.net/course/detail/420

But that is still a lot of users silently support me, I express my thanks, really!! All my future blog or tutorial will be more careful to record, and write, thank you for the support of small partners!!

Android FrameWork Package PackageName have no installation candidate

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.