Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21545 ideas, 132412 comments, 2606687 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #22602: way of automatisation of available solutions (workarounds, fixes,...)

Written by step the 22 Nov 09 at 21:02. Related project: Synaptic package manager. Status: New
Rationale
* Although (and because) Ubuntu is developing quickly, there are still many problems which can only be solved without GUI by terminal/editor work.
* For many users, the available solutions in forums and wikis are still not helpful, because they are "afraid" of the command-line.
* In forums, the same (often simple) solutions are described over and over again to different users.
* Ubuntu software developers and experienced users are able to automatise solutions/workarounds/fixes in bash-skripts. There should be an easy way to share them with the community.
Tags: (none)

97
votes
up equal down
Solution #1: "Solution-Center" for easy download & implementation of common workarounds
Written by step the 22 Nov 09 at 21:02.

"Solution-Center": A program which allows to up/download & execute bash-scripts (in combination with a driver, corrected acpi-table, ...) to implement known solutions, fixes and workarounds for the user. The bash-scripts are provided (developed& maintained) by the community. They are then available over the internet (ubuntu-servers) through this program.

Example:
----------------
User "exbert" has a new laptop "problemhard". Some hardware doesn't work. She finds a workaround and now it works. She writes a bash script that automates the workaround. Now she uploads the script in combination with a driver-file and makes it available for the community under the key "fix for laptop problemhard".

User "noob" buys the same laptop. Although he doesn't know nearly as much about linux as "exbert", he can now easily and quickly implement the (possibly complex) workaround: "exbert" tells him:
* Open your "easy workaround"-Program
* search for "problemhard"
* select "fix for laptop problemhard", enter your (sudo-)password & wait to finish
Done.

-------------
Further Ideas:
* This program could be an extension of the apt-system(?).
* The "solutions" (scripts) can be maintained according to the official sources: e.g. management of restricted drivers (official scripts), bugfixes (multiverse) and acpi-fixes (universe).
* "Solutions" (scripts) are managed for each Version of Ubuntu
* There should also be a feedback-functionality ("does it work now (Y/N)?"), maybe a comment function ("don't execute this if...") for the solutions.
* Grouping/tagging/linking of "Solutions" should be possible (e.g. alternative solutions to the same problem, all solutions for laptop "problemhard", undoing of solutions)
* Ubuntu Software developers can keep track of how often a common problem shows up (download-counts) and decide, which "construction sites" are important
31
votes
up equal down
Solution #2: In addition to #1
Written by alms66 the 25 Nov 09 at 20:48.
Add an import/export function so that you can go from one working computer, export the solution to USB/CD/DVD, then go to the computer that needs the solution and import from USB/CD/DVD - just in case the problem you're trying to fix is your network card isn't working, which seems to be a fairly common problem.
16
votes
up equal down
Solution #3: Similar to #1 but taken from my submission Idea #22667
Written by doobiest the 26 Nov 09 at 20:04.
The solution to this problem is straight forward.

Under the System > Administration menu add an application. Something named 'Fixes' or 'Fixxer' or something indicating that it will help the user correct a particular problem they're having.

In the application have a list of common problems related to bugs identified but not yet fixed in their current distro version.

I'm thinking mostly hardware related thing:

-No sound
-No network connectivity
-etc

The user can click on 'No sound' and a bash script would be executed to do all the stuff likely required to work around the bug. Restart alsa/pulse audio, kill off and PIDs hanging in /dev/snd/. Followed by a test wav file.

Similar with network, it would restart the networking, issue dhclient, etc.

This will certainly help people who aren't experienced. If this issue happens to me I dive into a command line, work around it, and wait for a software update fixing the bug. Someone less experienced is helpless. Knowing to go into that program and click a button to temporarily work around the issue is a big bonus. Sure beats a reboot.
[...]

This app should have a web component to it. Say the user is running ubuntu 8.10. Out off all the uncorrected bugs checked in, find which have a valid work around submitted, add that to a list, and when the user loads the fixxer app it would download an updated list of fixes they might be looking for.

This would behave somewhat like the software repository. It's a repository of fixes, which can be updated or invalided as time goes on. I think this would also be great for legacy support for users who for whatever reason cannot continue to upgrade to the latest and greatest, they aren't left in the dust.

Also there could be a command line output at the bottom of app, which could show the content of the script and the output. This would help new users understand whats going on under the hood, letting them level up exp. wise.

The scripts for these fixes should be written as basic as possible and well commented. It's essentially a hand holder saying, you're a new users, but if you weren't, you might want to consider writing a script like 'this' to fix your problems.
4
votes
up equal down
Solution #4: Proposed solution for workarounds associated with particular packages
Written by dhilvert the 29 Nov 09 at 04:45.
For the case where the workaround is clearly associated with a particular package (e.g., https://bugs.launchpad.net/ubuntu/+source/liferea/+bug/290666/comments/35 ), the most natural approach might be to display multiple packages in the package or update manager (aptitude, synaptic, update-manager, etc.), with workarounds described in the package descriptions. In this way, the package manager would be aware of the fix, but users could choose (or not) to implement any particular set of workarounds. As a side benefit, the workaround would be naturally cleaned up when a real fix is eventually released.

For the case of the update manager, which might be generally expected to be more user friendly than aptitude or synaptic, packages for workarounds could be confined to a special section (e.g., a 'solution center' as in solution #1, perhaps accessible via button or menu).
18
votes
up equal down
Solution #5: Distribute fixes through update manager
Written by jegerjensen the 29 Nov 09 at 22:37.
The reason users need all these work-arounds is because only critical or security related fixes are propagated through the update manager.
8
votes
up equal down
Solution #6: Tie Forum threads to Wiki pages
Written by snadrus the 1 Dec 09 at 22:25.
PPAs are great for package workarounds from experts, new software, etc. More complex requests are often answered in the Forums. But people who Google for the answers must read pages of corrections & updates to be sure it's their issue. Have each Forum thread associate with a Wiki page which has corrected the steps to leave a single solution point, even if the solution is "Install ___ package by clicking PPA://___"
9
votes
up equal down
Solution #7: Promote best (and tested) 'workarounds' to Launchpad, then publish them
Written by rrnwexec the 6 Dec 09 at 20:57.
Launchpad already does a great job capturing data about bugs. Many bug reports contain 'workarounds'.

When a 'workaround' is discovered, the community that sees it and tests it should submit the information to Launchpad.

The community should actively encourage posters in forums, blogs, etc. to submit their work in Launchpad. This will help make the Ubuntu bug management system the best there is.

Propose your solution

Attachments
No attachments.


Duplicates


Comments
Shady3D wrote on the 23 Nov 09 at 06:52
its great but these workarounds should be approved by Ubuntu team, to make sure that these scripts don't harm the users, but this is great idea.

Ssdg wrote on the 23 Nov 09 at 10:02
Interesting, but what's the point, the time to issue a workaround will be taken on the time to issue a real patch... so it will slow down overall problems resolutions.

shinger wrote on the 23 Nov 09 at 15:23
@Ssdg Well some problems arent fixed for a long time. So a workaround is kind of nice to have. And a agree with andrew and shady about Canonical approving them before putting it online for users to download.

doobiest wrote on the 26 Nov 09 at 20:02
Looks like I may have posted a duplicate. Although I think the detail of mine helps capture the need of this for novice users, please see Idea #22667 and tell me what you think

doobiest wrote on the 26 Nov 09 at 20:03
my rationale was:

Think about who bugs affect the most and who it leaves the most helpless.. Novice users, people who aren't commandline savvy.

Say there's a bug which prevents your sound card from working. For the average to experienced user it's annoying but manageable. We can drop to a shell, type in some magic and get it to work. If it breaks again, continually repeat the steps until the bug has been fixed in a later build. No big deal.

For the Novice user however this is a big deal. Not only are the ill-equipped with the means to work around the issue, the have to wait until the bug is fixed in a new build, and the pray they know to update the software.

This can equate to weeks and week of having a crippled OS. Its a poor customer experience and it's going to make them want to switch back to their old copy of XP and give up hope.

I feel that this could be easily dealt with and greatly increase the end user experience with a very simple application.

Dataphile wrote on the 30 Nov 09 at 06:52
I don't think it makes sense to make workarounds available in this way. The same people that want the ease-of-use of automatic solution distribution are the ones who will want the ease-of-use of thoroughly tested solutions, which obviously takes time. And developer's time is better spent fixing the actual issue than managing workarounds.

I read this request as a call to reduce solution turnaround time for problems with known solutions. I believe Canonical is aware of this problem and is working to address it by streamlining communication with upstream developers.

Other than that, the only thing I see is a desire to avoid regressions. I feel that is best accomplished by releasing the best-tested versions, especially ones that have limited new features.

dhilvert wrote on the 30 Nov 09 at 18:54
@Dataphile Perhaps the primary motivation for workarounds is that not everyone's hardware is the same. If a new user has a network card that doesn't work, and five other users with the same card have successfully tested a proposed work-around, it might make sense to make that user's experience a bit easier by providing this information directly, and by offering to implement a fix in a tested, automated manner. This same fix might not make sense for all Ubuntu users, and might not ultimately make sense for upstream to adopt, but users should have a choice in this area, and implementing workarounds and fixes in a common format (I would suggest as .deb packages) not only makes their implementation more reliable from user to user, but also allows for better compatibility with long-term development than does manual intervention.

Not only would this benefit novice users, but also advanced users, since the latter would not need to mentally account for workarounds if the package manager is doing it for them.

(And package maintainers, in looking at what suggestions to send upstream, could report on the efficacy of fixes in a controlled way, since automation would reduce user error.)


Post your comment