1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187 | 2015-09-30 16:52:56 Guest64566 for the trusty repo of ubuntu there is approximately 45940 packages in the repo i am wondering if anybody has older ubuntu os's like ...10 ,12 ,....etc and can give me a sudo apt-cache search . | wc -l
2015-09-30 16:53:25 Guest64566 so i can determine the growth of the repo's between os's versions
2015-09-30 16:53:38 TJ- Guest64566: you can pull the package lists in manually from the repos
2015-09-30 16:55:25 Guest64566 TJ how are you suggesting to do that i have all the repo sections like source code packages , main repo , proprietery repo ,multiverse check under the ubuntu software center
2015-09-30 16:56:25 Guest64566 but imagine i would have to turn all these on and point to the different repo's when issuing apt-cache search .
2015-09-30 16:56:42 Guest64566 like lucid repo ,...etc
2015-09-30 16:57:58 TJ- Guest64566: don't use apt-cache; pull the package lists in directly and parse them
2015-09-30 16:59:02 TJ- Guest64566: E.g. something like "wget -O - http://old-releases.ubuntu.com/ubuntu/dists/breezy/main/source/Sources.bz2 | bunzip2 -c | grep '^Package:' | wc -l" ... and make that more generic so you scan multiple releases (breezy, feisty, hardy, lucid, etc), and multiple components (main, universe, multiverse, restricted)
2015-09-30 17:00:24 TJ- Guest64566: note that my example counts the source-code packages; multiple binary packages are often created by a source package so you many want to modify that to fetch the binary package lists instead
2015-09-30 17:01:09 Guest64566 O i was thinking there was a way with apt-add-repository but then i would have to specifically add and remove repo's to get that affect not even sure it would work this way... though if i had the source.list file for each os's version i could probably switch out them temporarily
2015-09-30 17:01:42 TJ- Guest64566: That'd be the hard way to do it.
2015-09-30 17:04:43 Guest64566 I notice your os's your missing some is there away to get all the os versions package repo's in one newest thru olds
2015-09-30 17:05:54 Guest64566 And yes i am ok with regex to grep for specific repo or specific things thanks for that process i do think it would be the easier way to go then doing it with add-apt-repo... way
2015-09-30 17:06:20 TJ- Guest64566: the URL I gave you is for the retired releases (no longer supported). The currently supported releases are on archive.ubuntu.com
2015-09-30 17:08:06 Guest64566 willy is the newest repo / os's version package repo's
2015-09-30 17:08:48 Guest64566 ya cool thanks
2015-09-30 17:10:47 Guest64566 O one more thing is source packages can one compile these to create the binary packages. if so then i am wondering if one compiles a source package will he have any dependency issues or is that taken care of by apt-get install at the time you install the source package
2015-09-30 17:13:34 Guest64566 because i know if one downloads source .tar files you can get library dependency issues that create package hell but does down loading the source package always get around this so one has no issue in building the package from source. if so then why do we have the binary packages why not safe space and only provide source packages that people just issue ./configure ; make ; make install or with a few commands
2015-09-30 17:14:33 genii Guest64566: Because if you're really hell-bent on compiling them from source, it's much easier to just use the built in apt-build
2015-09-30 17:14:42 Guest64566 I am just trying to figure out the benift of having it in a source package or binary package if one is not going to modify the code in any way what would be the differences... won't the source package downloads create the binary packages that you could down load directly anyway
2015-09-30 17:17:05 Guest64566 well i am curious if one downloads the source package with apt-get install will it clear up any building issues that could go wrong with ./configure ; make ; make install or the building/dependencies for it
2015-09-30 17:18:45 Guest64566 basically does apt-get install for source packages clear up dependency issues for compilation of the source package or is it still going to be like downloading a tar having to correct package issues
2015-09-30 17:20:00 genii Guest64566: You do beforehand apt-get build-dep <packagename>
2015-09-30 17:20:59 Guest64566 I know binary package apt-get install clears up the issues of installing a built program i.e is smart enough to find from .deb format all the dependencies and clear up any installing issues... so was wondering for source packages does it also download the dependencies / clear issue that arise when building the source package
2015-09-30 17:21:51 TJ- Guest64566: If we really wanted to build from source the procedure is: "PKG="package-name"; apt-get source ${PKG}; apt-get build-dep ${PKG}; cd ${PKG}-${VERSION}; fakeroot debian/rules binary" - at that poing we have the compiled binaries in the parent directory ready for installation.
2015-09-30 17:21:53 tgm4883 Guest64566: genii just told you how to get the build dependencies
2015-09-30 17:22:04 Guest64566 well all i do currently is apt-get install which may do that in the back sense for binary packages so was curious about the source packages and weather i would get any issues of compiling them
2015-09-30 17:25:15 Guest64566 O so then what is the difference between apt-get source and downloading using apt-get install sourcepackagename
2015-09-30 17:25:52 ignacio Guest64566,
2015-09-30 17:27:02 Guest64566 I just was wondering what the difference was between apt-get install sourcepackage as opposed to apt-get source package ; apt-get build-dep package
2015-09-30 17:27:15 Guest64566 for a source package
2015-09-30 17:27:33 tgm4883 Guest64566: can you apt-get a source package
2015-09-30 17:27:34 TJ- Guest64566: that won't work: "apt-get install <sourcepackage>" ==> "E: Unable to locate package"
2015-09-30 17:28:36 Guest64566 but then why doesn't apt-cache search . list all the packages in the repo location you have
2015-09-30 17:28:56 tgm4883 Guest64566: it does?
2015-09-30 17:29:07 Guest64566 yes even source one right
2015-09-30 17:29:56 tgm4883 Guest64566: I'm unsure if it lists source package names, I doubt it
2015-09-30 17:29:56 Guest64566 so if your correct if i chose a source package and try to apt-get install it i will get an error and have to apt-get source to install it.. is that what you are saying
2015-09-30 17:30:34 Guest64566 Because there the system control center i never have the distinction
2015-09-30 17:30:47 Guest64566 so curious at the command line know gui level
2015-09-30 17:31:09 tgm4883 Guest64566: I'm not entirely sure what you're asking anymore
2015-09-30 17:31:29 TJ- Guest64566: People using a GUI almost always are not interested in the source-code packages, so listing them would be a distraction and a confusion
2015-09-30 17:32:11 Guest64566 Ok but if you checkbox them on and install them thru the gui the gui is calling apt-get source not apt-get install
2015-09-30 17:32:17 Guest64566 yes or no?
2015-09-30 17:33:10 TJ- Guest64566: You'd need to look at the Software Centre source code to determine how it performs te actions. I'd guess it calls library functions rather than a sub-process.
2015-09-30 17:34:47 Guest64566 also apt-get download allows one to download a package weather it is source or binary one into any directory he wants but when you issue a apt-get install that package it would install it always to the /bin , /usr/bin ,...etc directories is there away to change where it installs to or is this not allowed because of path/dependency location issues
2015-09-30 17:38:18 Guest64566 so i guess if you have a .deb file from apt-get and want to install it must it always install to a certain hardcoded location based on the .deb file or can you thru dpkg or apt-get commands change the installation directory
2015-09-30 17:39:54 Guest64566 so in the cases where some one was running out of room on his memory or other places where the standard folders resided... i guess he could remount the folder or do some chroot thing to get the equivalent.
2015-09-30 17:40:12 tgm4883 Guest64566: what is your end goal here?
2015-09-30 17:40:49 Guest64566 figuring out how to switch the installation directory for a package installed
2015-09-30 17:41:05 Guest64566 or beable to install to any directory i want
2015-09-30 17:41:18 tgm4883 Guest64566: so there isn't an "Installation directory" generally. There are a few
2015-09-30 17:41:45 Guest64566 because i would imagine all one would have to do is update there PATH variable accordingly to the new install dirs
2015-09-30 17:42:15 Guest64566 yes i know that but there usually the default /sbin , usr/bin , /bin ,...etc buitin directories
2015-09-30 17:42:40 Guest64566 i was wondering if you could change the location of where the .deb is to be installed
2015-09-30 17:42:45 tgm4883 Guest64566: It would be application dependant I believe, you may have to recompile
2015-09-30 17:42:46 k1l_ Guest64566: http://askubuntu.com/a/236149/31260 tl;dr some workarounds possible but not guarantee to work
2015-09-30 17:43:01 tgm4883 Guest64566: it's FAR easier to just mount additional storage
2015-09-30 17:44:02 gorgonzola Guest64566 In general, I would say that that goes against the way in which unix systems are suposed to work, so it sounds like a bad idea. What are you trying to accomplish? I'm sure there is an easier way to do what you want than messing with the way debian packages are installed.
2015-09-30 17:44:21 Guest64566 O ya so you would need to rebuild the source or deb package itself to uses a different location didn't know if there was some switch in apt-get or dpkg command to do that automatically
2015-09-30 17:44:48 gorgonzola Guest64566 one option, is to manually open the deb file for the desired package, and copy its contents to one of the system folders for which you (the user) has total control, like /usr/local or even better, /opt
2015-09-30 17:44:53 k1l_ Guest64566: you try to solve problem B instead of solving problem A. so focus on the reason why you want to install in a different place
2015-09-30 17:45:43 TJ- Guest64566: No, source rebuild isn't required. The paths stored in the DATA section of a .deb are relative. The host installer prefixes that with the system path
2015-09-30 17:45:49 Guest64566 I have a distro running in memory that doesn't have enough space for /bin /usr/bin growth every much so limiting me to install only a few things without having to remove then reinstall all the time i was wondering if i could uses a temporary storage devices
2015-09-30 17:48:41 Guest64566 so i can download to any folder the source /binary .deb packages but when i install them they install to the location that i have limited memory/storage growth for. So was curious if i can install them to another partition or place where i do have storage for/growth for packages
2015-09-30 17:49:03 gorgonzola Guest64566 The way you wuld normally d what you want, is to mount extra storage under /usr
2015-09-30 17:49:18 Guest64566 that would require switching the install dir not switching the download places
2015-09-30 17:49:42 gorgonzola Guest64566 wait, let me catch up woith your messages, i think i missed something
2015-09-30 17:50:43 Guest64566 so remount /usr to another secondary storage device if i do that i would have to make a copy of what was in the orginal usr directory onto the newly mounted one right? Is that all that is required for me to be all set
2015-09-30 17:51:03 mcphail Guest64566: you can run "apt-get download packagename" to get a .deb, then run "dpkg-deb --extract . filename.deb" to unpack it. You can then put the binary files wherever you want. Doesn't guarantee success, though
2015-09-30 17:51:54 TJ- Guest64566: underneath all package managers is a call to 'dpkg -i' to install a binary package. 'dpkg' has the option "--instdir=dir" to change the base directory and it defaults to "/"
2015-09-30 17:52:03 gorgonzola Guest64566 running out of space in /usr in an already installed system is a complicated issue.
2015-09-30 17:54:04 Guest64566 Ok i will look more indepth with your command switches... curious on if i did remount /usr to another location say could i remount the old /usr as part of the new mount /usr directory... or would i have to copy first all the stuff over... just curious if the mount command had a switch to allow mounting on a new dir with the part of the old dir
2015-09-30 17:54:12 Guest64566 I hope you get what i am saying
2015-09-30 17:54:39 tgm4883 Guest64566: honestly, I'd just add more storage and mount it where you need it. For moving files, you should be able to just copy them to the new drive and then ensure fstab mounts it in the right location
2015-09-30 17:55:10 tgm4883 Guest64566: I'm not sure how well overlay directories are supported
2015-09-30 17:55:16 Guest64566 Ok thats what i was think thanks tgm4883
2015-09-30 17:56:13 Guest64566 just remount and copy over then update the fstab for when rebooting to always uses that change place with the copied over old files to begin with
2015-09-30 17:57:08 Guest64566 was just asking because there may have been a feature like " say overlay directory mounts" to no have to copy over things... this could be a performance benifit for servers to
2015-09-30 17:58:34 TJ- Guest64566: if you're using the Live (non-installed) environment the system is already using a layered Copy-On-Write (cow) file-system overlay that allows installing new packages in/on the squashfs root file-system image that is in the ISo image
2015-09-30 17:59:00 tgm4883 Guest64566: that feature exists, I'm not sure how it would be a performance benefit though
2015-10-01 04:30:28 Guest64566 I have read that there is 2 seperate usb drivers for adb and fastboot so maybe i have to install a usb driver for fast boot not sure where or how to do this am on a ubuntu 14 os's
2015-10-01 04:31:12 TJ- Guest64566: On Linux fastboot/adb should 'just work' as long as udev sets up the connection correctly
2015-10-01 04:31:37 Guest64566 my problem is with the command fastboot for andrioid phone devel i have install andriod packages for adb and fastboot and adb works fine
2015-10-01 04:32:13 Guest64566 will when i uses sudo fastboot or fastboot ... i get <wait for device> for ever
2015-10-01 04:32:33 Guest64566 I tried restarting the udev service but that didn't help either
2015-10-01 04:32:55 Guest64566 I have looked at lsusb and nothing appears to be an issue there
2015-10-01 04:33:26 Guest64566 using lsusb I have an entry Bus 001 Device 045: ID 19d2:ffe3 ZTE WCDMA Technologies MSM is what lsusb has for my phone device
2015-10-01 04:34:45 Guest64566 so how do i clear this up if it is in a /etc udev config file how do i clear it up
2015-10-01 04:35:24 Guest64566 I will check the logs for a udev issue and log errors not just info
2015-10-01 04:37:03 Guest64566 I have really know rules set other then a could 70-persistent-net.rules in that file but no usb rules so i will restart with log files on a higher level and check the log ... but if it is not udev what else could it be?
2015-10-01 04:37:56 TJ- Guest64566: if adb sees the phone but fastboot doesn't it must be something with the android tooling
2015-10-01 04:38:19 TJ- Guest64566: is the phone in fastboot mode when you try it? fastboot won't see the device unless it is in fastboot mode
2015-10-01 04:38:29 Guest64566 ok so then what packages or what thing can i do to fix this
2015-10-01 04:38:58 Guest64566 for fastboot is there like a usb driver program specific for fastboot that i could install or something to correct this
2015-10-01 04:39:24 Guest64566 how do you put the device in fastboot mode ???
2015-10-01 04:39:48 Guest64566 I turned on usb debugging for adb but don't see a setting for fastboot mode
2015-10-01 04:39:48 TJ- Guest64566: usually by holding down a key combo at boot-time, similar to entering hboot mode
2015-10-01 04:40:09 TJ- Guest64566: Power + Volume-Up I seem to recall, or maybe Volume-Down
2015-10-01 04:40:11 ignacio Guest64566, adb reboot bootloader
2015-10-01 04:40:49 Guest64566 The only key holding down i know of that works on this phone is volume + , power, camera button all at the same time at boot gets me into the recovery console but thats about it
2015-10-01 04:41:31 TJ- Guest64566: there will be another key combo for entering hboot mode, which may have options to enter fastboot and recovery on its menu
2015-10-01 04:41:46 Guest64566 The recover console only has 4 options reboot system , erase data/factory settings , install from a sd card , or wipe cache so no fastboot setting there
2015-10-01 04:42:02 ignacio Guest64566, can you try adb reboot bootloader?
2015-10-01 04:42:05 TJ- Guest64566: try Power + Volume-Down
2015-10-01 04:44:47 Guest64566 when i do adb reboot-bootloader i get the phone hanging on the ZTE screen doesn't go anywhere when i adb reboot i get the phone to actually restart the whole os's again fine
2015-10-01 04:44:59 ignacio Guest64566, but you can d ofastboot devies?
2015-10-01 04:45:12 Guest64566 So what else should i try or where is fastboot located option
2015-10-01 04:45:35 ignacio Guest64566, I think its on the ZTE thing.. Just try fastboot devices when that screen appears
2015-10-01 04:45:41 TJ- Guest64566: ignacio is saying that when you think the device has 'hung' it is probably waiting for a fastboot connection, so on the PC do "fastboot devices"
2015-10-01 04:45:57 daftykins Guest64566: 'reboot-bootloader' doesn't look right, isn't it a space?
2015-10-01 04:47:19 Guest64566 I think it is both adb reboot-bootloader or adb reboot bootloader i will try the other one to see if anything different happens
2015-10-01 04:47:46 ignacio Guest64566, did you tried adb reboot fastboot?
2015-10-01 04:48:03 Guest64566 And yes i did fastboot devices as this ZTE screen is hanging at adb reboot-bootloader and it is just hanging as well
2015-10-01 04:48:40 Guest64566 O wait it finished the fastboot devices command and left no lines of info
2015-10-01 04:50:47 Guest64566 i have noticed in the status window when i do adb reboot-bootloader it is in an unknown state for like ever
2015-10-01 04:51:33 TJ- Guest64566: maybe the device is 'locked' in some way to prevent it. Anyhow, you've got an Android support issue now, not Ubuntu
2015-10-01 04:52:11 Guest64566 is there another way to get to the fastboot option i only know how to get into the recovery menu so kind of wondering if there is any hidden bios menus that i am not aware of and what the key combination for it would be it is a ZTE phone model x500
2015-10-01 04:52:31 ignacio Guest64566, just saying, for what you need the fastboot mode
2015-10-01 04:53:08 Guest64566 maybe only way to uses it on this phone is to root the phone just a thought
2015-10-01 04:53:12 daftykins Guest64566: not Ubuntu's responsibility, sorry. plenty of more useful channels on freenode, like a cyanogenmod one perhaps... depends what you're trying to achieve.
2015-10-01 04:53:12 TJ- Guest64566: try in #android
2015-10-01 04:54:09 Guest64566 alright thanks for your help i will try either those or googling around for ZTE model x500 and fastboot issues
2015-10-01 05:05:14 Guest64566 humm when i try the other command without the hyphen sudo adb reboot bootloader gives me insufficient permissions for device WTF
2015-10-01 05:06:16 TJ- Guest64566: the device refuses; probably it is locked. Ask the Android experts
2015-10-01 05:06:38 ignacio Guest64566,
2015-10-01 05:07:07 Guest64566 O so if it is a locked phone issue would rooting it unlock this ability
2015-10-01 05:08:26 Guest64566 I have turned usb debugging on that was the only developer options i could see on this phone
2015-10-01 05:09:31 Guest64566 weird when i sudo su and did adb device i get ????? no permissions
2015-10-02 21:41:06 Guest64566 i download a few .deb files using sudo apt-get download packagename and i cann't dpkg -i package ... for example when i down load ruby-ldap_0.9.16-1_i386.deb i cann't install it get dependency issues .. what is the point of downloading if you cann't install itt
2015-10-02 21:41:47 Guest64566 Or what is the point of the download option of apt-get
2015-10-02 21:42:28 wileee Guest64566, That is a very bad description.
2015-10-02 21:42:33 julian-delphiki Guest64566: if you also have the dependency debs downloaded it works pretty well.
2015-10-02 21:43:14 hecatae Guest64566: a bad workman blames their tools, what are you downloading using apt-get?
2015-10-02 21:43:19 TJ- Guest64566: You are aware the proper use of apt for package installation is simply "apt install <packagename>" - there is no need to download first
2015-10-02 21:45:28 Guest64566 I realize this but i have download basically all the ldap and samba packages in the trusty repo and was wondering why i cann't install using dpkg -i since the dependences are all in the same directory i would have assumed but maybe there is some outside that i missed
2015-10-02 21:47:14 Guest64566 Either way if you download a deb file or bunch of them to a local folder to uses when reinstalling the os's why doesn't it work dpkg doesn't clear up package dependency issues or at least smart enough to go out and get the dependencies it is missing or dependencies in the same folder and install those first
2015-10-02 21:47:16 TJ- Guest64566: You can use "dpkg -iR <directory>" to install all packages in a directory
2015-10-02 21:47:34 Guest64566 You have to uses the apt tool a layer up
2015-10-02 21:47:58 TJ- Guest64566: or you can use "dpkg -i <package1>.deb <package2>.deb" to ensure dependent packages are installed at the same time
2015-10-02 21:48:48 TJ- Guest64566: dpkg is not designed nor intended to deal with repositories, that is apt's job
2015-10-02 21:51:39 Guest64566 So one cann't make a local repo using the download command
2015-10-02 22:10:53 Guest64566 ok i am using apt-get again and now when i try to do something it doesn't allow me. I do apt-get check and it says i have umet package dependencies issues uses -f i know -f will work but it will install new packages ... i want to just clear these error not install new dependencies
2015-10-02 22:11:24 daftykins Guest64566: put the output of beginning "apt-get -f install" into http://paste.ubuntu.com
2015-10-02 22:11:26 Guest64566 i want to forget about the packages i was dpkg for a second clear apt-get of those issues
2015-10-02 22:11:36 Guest64566 without installing the dependencies for it
2015-10-02 22:12:04 daftykins Guest64566: so show us.
2015-10-02 22:12:14 SCHAAP137 Guest64566: this is probably a consequence of installing that separate .deb file
2015-10-02 22:14:54 Guest64566 this is what apt-get check says http://pastebin.com/dy0vh3mH
2015-10-02 22:15:35 Guest64566 but i changed my mind i don't want to install these with -f how can i clear apt-get of this stuff so i can download other packages
2015-10-02 22:16:42 daftykins that's not what i asked for Guest64566
2015-10-02 22:17:59 Guest64566 what do you want me to show you... when i dpkg the ruby package it didn't install or had those dependency issues
2015-10-02 22:33:16 Guest64566 ok i had to remove the samba and ruby package then i did i check and was ok... what i want to know is when i apt-get ruby-interperter i get package is a virtual package provided by ruby2.0 2.0.0.484-1ubuntu2.2
2015-10-02 22:33:53 daftykins Guest64566: that's not got a question in it?
2015-10-02 22:34:01 Guest64566 confusing what the hell is a virtual package but what ever then i tried to apt-get install that package putting it in "" because of the spaces and it still failed
2015-10-02 22:34:49 daftykins Guest64566: virtual or meta packages are ones that refer to a bunch of other packages, making it easier to install things via one package name instead of a whole list.
2015-10-02 22:35:06 daftykins Guest64566: well no valid package has spaces, so that was your first mistake
2015-10-02 22:35:32 daftykins Guest64566: why don't you start from the start, what are you trying to do?
2015-10-02 22:36:02 Guest64566 so why is sudo apt-get install "ruby2.0 2.0.0.484-1ubuntu2.2" basically say's unable to locate package
2015-10-02 22:36:34 daftykins Guest64566: because that's not a real package name.
2015-10-02 22:36:55 daftykins Guest64566: so can you stop wasting both of our time and say what you are REALLY trying to do?
2015-10-02 22:37:12 Guest64566 it gave me that option when i tried to install ruby-interperter
2015-10-02 22:37:45 daftykins Guest64566: you're still not telling me what you're trying to achieve, i'm going to give up replying soon.
2015-10-02 22:38:09 Guest64566 as one of the virtual packages maybe it should just be ruby2 and the 2.0.0.484...etc thing is just indicating something else for the package
2015-10-02 22:38:14 Guest64566 i will try that
2015-10-02 22:38:38 daftykins Guest64566: well don't guess, check PROPERLY with "apt-cache search ruby"
2015-10-02 22:40:08 TJ- Guest64566: if you spent some time reading the manual pages you'd know that to specify a specific version of a package the '=' symbol is used as a suffix to the package-name, followed by the version, with no spaces between them
2015-10-02 22:40:58 Guest64566 ya with apt-cache you have only 5 ruby2.0 packages none of which have the 2.0.0.484-1ubuntu2.2 on the end curious what this info is supposed to indicate
2015-10-02 22:43:03 Guest64566 yes so ever dependency was installed from this for http://pastebin.com/dy0vh3mH the dpkg -i ruby-ldap_0.9.16-1_i386.deb and the package now installs with no complains
2015-10-02 22:44:09 Guest64566 I didn't install the samba just testing for that deb file install with dpkg it works if you get the 4 dependencies for it installed first with apt-getting them
2015-10-02 22:45:16 TJ- Guest64566: You've been doing this for several days, going against everything the package management is there to do - Why!?
2015-10-02 22:45:39 Guest64566 My question is if one downloads all the packages from say the trusty repo into one local directory can he go there with dpkg -i and install any deb file or is dpkg not going to actually clear up dependencies even if they are in the same directory?
2015-10-02 22:46:20 daftykins Guest64566: you'd put them in the /var/cache/apt/archives/ folder then they'd work - but the real question is why you're doing this? it makes zero sense and you're just wasting our time until you just _SAY_
2015-10-02 22:46:49 TJ- Guest64566: dpkg does NOT resolve dependencies, that is apt's job
2015-10-02 22:47:30 MonkeyDust Guest64566 do you want to make an offline, local repo?
2015-10-02 22:48:07 Guest64566 so dpkg is just to install to correct directories and tell apt-get what dependencies it needs to download/install first
2015-10-02 22:48:36 Guest64566 not to resolve dependences that is the job of apt-get
2015-10-02 22:48:41 Guest64566 ?
2015-10-02 22:50:20 Guest64566 dpkg is just a program that reads the structure of the deb file format and checks dependences if all is good it can install the deb to the proper place. But the apt-get is for resolving the dependencies and downloading them from the internet right?
2015-10-02 22:52:10 Guest64566 If so then if one apt-get download the whole trusty repo locally to a file. forgetting dpkg using apt-get could one point apt-get to the local folder and have it install the deb files correctly i.e resolve these issues?
2015-10-02 22:52:34 TJ- Guest64566: see "man 5 deb" and "man 5 deb-control"
2015-10-02 22:52:38 Guest64566 That i had with dpkg on a local folder that had all the dependencies
2015-10-02 22:52:59 MonkeyDust Guest64566 better create a thread on a forum
2015-10-02 22:53:20 daftykins Guest64566: essentially you just need to learn how to use package management properly and not come up with these convoluted schemes.
2015-10-02 22:54:00 Guest64566 just hell to know which ones go first based on the seemingly never ending dependency change that by hand would take to long to clear up with dpkg could you uses apt-get on the local folder to resolve and install the local .deb files with out the dependency issues
2015-10-02 22:54:32 daftykins Guest64566: you're just trying to install the wrong things is all.
2015-10-02 22:55:24 MonkeyDust Guest64566 what was your initial question?
|